Skip to content

Instantly share code, notes, and snippets.

@franklinjavier
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save franklinjavier/44d1fb2a1c011ad53581 to your computer and use it in GitHub Desktop.

Select an option

Save franklinjavier/44d1fb2a1c011ad53581 to your computer and use it in GitHub Desktop.
rsync with custom ssh port and ignore files/folder
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