Created
June 9, 2018 02:22
-
-
Save raresteak/ec4011e5739128f32d99a0d44ba00da1 to your computer and use it in GitHub Desktop.
rsync notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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