Last active
August 29, 2015 14:08
-
-
Save franklinjavier/44d1fb2a1c011ad53581 to your computer and use it in GitHub Desktop.
rsync with custom ssh port and ignore files/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
| rsync -azrvhP --rsh="ssh -p2222" --exclude-from "$HOME/r00t/dotFiles/.ignore" /path-local/ user@domain.com:/path-remote/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment