Last active
January 19, 2017 15:39
-
-
Save dbcesar/38be7d34580409ffa98708a7b3a81c87 to your computer and use it in GitHub Desktop.
Typical rsync command
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 -avzPn --delete 20161202-1* diego@diego-bir:/home/diego/logs_catarina | |
Usefull | |
-n, --dry-run perform a trial run with no changes made | |
-v, --verbose increase verbosity | |
-a, --archive archive mode; equals -rlptgoD (no -H,-A,-X) | |
-z, --compress compress file data during the transfer | |
-P same as --partial --progress | |
--partial keep partially transferred files | |
--progress show progress during transfer | |
--delete delete files from the destination. By default rsync does not delete files from the destination |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment