Skip to content

Instantly share code, notes, and snippets.

@johnjosephhorton
Created April 13, 2012 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save johnjosephhorton/2378921 to your computer and use it in GitHub Desktop.
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
#!/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