Skip to content

Instantly share code, notes, and snippets.

@mgrouchy
Created May 17, 2011 18:17
Show Gist options
  • Save mgrouchy/977027 to your computer and use it in GitHub Desktop.
Save mgrouchy/977027 to your computer and use it in GitHub Desktop.
dropshare
#copy target folder or file to public folder in your dropbox
function dropshare()
{
cp -Rv $1 ~/Dropbox/Public/
}
@orenmazor
Copy link

beautiful gist. elegant code.

will steal and not attribute again.

A++++++++

@mgrouchy
Copy link
Author

haha, don't know if its elegant, but it is useful!

@orenmazor
Copy link

I'm having a slow day :)

@mgrouchy
Copy link
Author

Ahh slow days, that would be splendid. Too bad dropbox api doesn't support getting the link for the shared url. Then I could make this super useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment