Created
March 4, 2014 19:50
-
-
Save mrmike/9354197 to your computer and use it in GitHub Desktop.
Copy file to Dropbox folder
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
| # 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