Skip to content

Instantly share code, notes, and snippets.

@mrmike
Created March 4, 2014 19:50
Show Gist options
  • Select an option

  • Save mrmike/9354197 to your computer and use it in GitHub Desktop.

Select an option

Save mrmike/9354197 to your computer and use it in GitHub Desktop.
Copy file to Dropbox folder
# add tou your ~/.profile file
cpToDropbox()
{
cp $1 /Users/michal/Dropbox/destination_folder
echo 'File copied to Dropbox folder'
}
alias drop=cpToDropbox
# can be called from any place
# drop simple_app.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment