Skip to content

Instantly share code, notes, and snippets.

@raresteak
Created June 9, 2018 02:22
Show Gist options
  • Save raresteak/ec4011e5739128f32d99a0d44ba00da1 to your computer and use it in GitHub Desktop.
Save raresteak/ec4011e5739128f32d99a0d44ba00da1 to your computer and use it in GitHub Desktop.
rsync notes
Copy one directory to another
rsync -avxHAX --progress <source> <destination>
When transfering sparse files special care is needed.
First time transferring sparse files use --sparse.
Next time, when the sparse files already exist on destination, don't use --sparse, instead us --inplace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment