Created
April 8, 2013 18:51
-
-
Save danvine/5339415 to your computer and use it in GitHub Desktop.
Klowd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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