Sha256: 38e1995f2adea4eea8119f57b22f6d7f1321425323b3d29e27cd1e7d1e68ae73

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

# Public

Public is a Ruby command-line tool for quickly copying files to your public
[Dropbox](https://dropbox.com) folder.

## Installation

Add this line to your application's Gemfile:

    gem 'public'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install public

## Usage

Run the command by itself to generate a configuration file:

```
> public
```

This will create `~/.public_gem`, where you can set your Dropbox ID:

```
dropbox_user_id: CHANGE_ME
```

Your Dropbox ID can be found in a URL from your public folder:

```
https://dl.dropboxusercontent.com/u/YOUR_ID/foobar
```

Once you change this, you can then run `public` with a file (or files) as the
argument to copy them to your Public folder **and** your clipboard.

```
> public foobar.txt
> public barbaz.txt foobaz.txt
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
public-0.0.5 README.md