Skip to content

Instantly share code, notes, and snippets.

@desandro
Created June 7, 2011 15:01
Show Gist options
  • Save desandro/1012423 to your computer and use it in GitHub Desktop.
Save desandro/1012423 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