Created
February 11, 2017 03:51
-
-
Save stevemcquaid/3a9ca7b0979d2d5acbd6d33c0d38d166 to your computer and use it in GitHub Desktop.
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
rsync --archive --compress --size-only --log-file=rsync-log.txt --stats /path/to/destination path/to/paste/location | |
--archive == -rlptgoD | |
-r recursive | |
-l preserve links | |
-p preserve permissions (also updates permission on not transferred files) | |
-t preserve time (also updates time on not transferred files) | |
-g preserve group | |
-o preserve owner | |
-D preserve device and special files | |
-X preserve xattrs | |
--size-only don't use time to decide if file needs update | |
-i, --itemize-changes output a change-summary for all updates | |
-u don't update files that are newer on the receiver | |
-n --dry-run just simulate | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rsync -rt--compress --log-file=rsync-log.txt -i --stats [email protected]:~/Downloads ~/rsync/