Skip to content

Instantly share code, notes, and snippets.

@ggamel
Forked from desandro/rsync.sh
Created March 22, 2012 15:59
Show Gist options
  • Save ggamel/2159176 to your computer and use it in GitHub Desktop.
Save ggamel/2159176 to your computer and use it in GitHub Desktop.
basic rsync
# sync up
rsync -rav -e "ssh -l username" /local/path/ server.com:path/
# sync down
rsync -rav -e "ssh -l username" server.com:path/ /local/path/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment