Skip to content

Instantly share code, notes, and snippets.

@marczych
Created March 24, 2016 17:45
Show Gist options
  • Save marczych/6422c4fd76f2ee015e4b to your computer and use it in GitHub Desktop.
Save marczych/6422c4fd76f2ee015e4b to your computer and use it in GitHub Desktop.
Rsync over SSH
rsync -az --delete --exclude=.git -e 'ssh -i <identity file>' src user@host:dest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment