Created
June 14, 2015 13:16
-
-
Save neomatrix369/aad1b372109b423e3290 to your computer and use it in GitHub Desktop.
Handy rysnc examples
This file contains 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
rsync -vpcrazh --progress [source folder] [destination folder] | |
or | |
rsync --verbose --perms --checksum --recursive --archive --compress --human-readable --progress [source folder] [destination folder] | |
-v, --verbose increase verbosity | |
-p, --perms preserve permissions | |
-c, --checksum skip based on checksum, not mod-time & size | |
-r, --recursive recurse into directories | |
-a, --archive archive mode; equals -rlptgoD (no -H,-A,-X) | |
--no-OPTION turn off an implied OPTION (e.g. --no-D) | |
-z, --compress compress file data during the transfer | |
--compress-level=NUM explicitly set compression level | |
--skip-compress=LIST skip compressing files with a suffix in LIST | |
-h, --human-readable output numbers in a human-readable format | |
--progress show progress during transfer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment