Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.