Created
April 13, 2012 18:20
-
-
Save johnjosephhorton/2378921 to your computer and use it in GitHub Desktop.
Bash script to move a file to your public dropbox folder and copy the url to the clip board
This file contains hidden or 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
#!/bin/bash | |
cp $1 ~/Dropbox/Public/ | |
echo "http://dl.dropbox.com/u/<your id>/"$1 | xclip -i -selection clipboard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment