The cloudup cli
up(1) allows you to upload files to the cloud with ease.
Install with npm:
$ npm install -g up
$ up configCloudup up(1) one-time configuration requires yourpassword, however it is transfered via httpsand is not stored locally. Subsequent operationsuse the auth token generated from this process.Username: tobiPassword: ******
Usage: up [options] [file ...]Commands:open open matching streamcopy copy matching stream's urlstreams list streamsconfig configure up(1)help [cmd] display help for [cmd]Options:-h, --help output usage information-V, --version output the version number-t, --title <name> stream title name-s, --stream <id> upload to the given stream-d, --direct output direct links-f, --filename <str> assign filename to stdin-T, --thumb-size <n> thumbnail size in pixels 
Examples illustrating how to use the cloudup command-line tool to upload files and access your account.
Upload a single file, the stream url is copied to your clipboard immediately for sharing, even before the upload has completed.
$ up reflection.pngreflection.png : 92%stream :
Upload several files at once by passing multiple filenames:
$ up simon-*.pngsimon-1.png :simon-2.png :simon-3.png :simon-4.png :simon-5.png :simon-6.png :simon-7.png :simon-8.png :simon-ball-ocean.png… :simon-ocean-stick-2.… : 71%simon-ocean-stick.pn… : 55%simon-ocean.png : 74%stream :
up(1) delivers thumbnails when possible before the files are uploaded, so viewers can
see what they're getting before-hand, and progress is updated in real-time.
When no filenames are given
up(1) reads from stdin:
$ echo 'hello world' | up
A filename can be passed to help cloudup interpret the content:
$ echo 'hello __world__' | up --filename hello.md
You may optionally provide a stream
--title upon upload, otherwise Cloudup
will generate one for you based on the content:
$ up ferrets/*.png --title Ferrets
You may also upload to an existing stream by passing
$ up simon.png --stream c7WwhIwSl6Y
If you prefer direct links you may use
$ up example.jpeg --directexample.jpeg :stream :
List your cloudup streams:
$ up streamsArt (19)C (2)Cats (3)Cloudup - light (5)Cluster (3)Design (35)Dolphins intelligence (8)EXIF (6)Es6 yield (2)
Search for streams:
$ up streams australiaAustralia 2013 (63)
Copy the first matching stream to the clipboard:
$ up copy australia
Open the first matching stream in your default browser:
$ up open australia
--interactive flag may be used to list streams in an
interactive list using the arrow keys to traverse the list. Pressing
return will open the stream or item in your default browser.
down arrows for navigating the list, and
to view the items or go back to the stream list.
Stream and item links that output to stdout may be opened in the browser by holding down command and double-clicking the url.
(The MIT License)
Copyright (c) 2014 Automattic, Inc and contributors <email@example.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.