Skip to content

Instantly share code, notes, and snippets.

@danvine
Created April 8, 2013 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danvine/5339415 to your computer and use it in GitHub Desktop.
Save danvine/5339415 to your computer and use it in GitHub Desktop.
Klowd
# 1. grab http://sveinbjorn.org/platypus
# 2. brew install s3cmd
# 3. setup your ~/.s3cfg
# 4. drop this shell script in a file and then run platypus
UUID=`uuidgen`
FILENAME="$UUID.png"
/usr/local/bin/s3cmd put "$1" s3://klowd/$FILENAME
REMOTE="http://s3.amazonaws.com/klowd/$FILENAME"
echo $REMOTE | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment