Skip to content

Instantly share code, notes, and snippets.

@cyriac
Created August 18, 2014 17:50
Show Gist options
  • Save cyriac/3d9d71de1b7e1c320f1b to your computer and use it in GitHub Desktop.
Save cyriac/3d9d71de1b7e1c320f1b to your computer and use it in GitHub Desktop.
A useful rsync between folders
rsync -pvr --delete --exclude-from=file_with_excludes folder1/ userB@hostB:folder2/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment