Skip to content

Instantly share code, notes, and snippets.

@lxneng
Created March 9, 2010 07:32
Show Gist options
  • Save lxneng/326349 to your computer and use it in GitHub Desktop.
Save lxneng/326349 to your computer and use it in GitHub Desktop.
#push
rsync -avz -e ssh /some/small/directory/ [email protected]:/backup/destination/directory/
#pull
rsync -avz -e ssh [email protected]:/backup/destination/directory/ /some/small/directory/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment