Simple rsync command to synchronize two directories.Other useful options
-h, --human-readable -C, --cvs-exclude = excludes common source file endings --delete -z, --compress --exclude=PATTERN --compare-dest=DIR This option instructs rsync to use DIR on the destination machine as an additional hierarchy to compare destination files against doing transfers (if the files are missing in the destination directory). If a file is found in DIR that is identical to the sender's file, the file will NOT be transferred to the destination directory. This is useful for creating a sparse backup of just files that have changed from an earlier backup.
- rsync --progress --compress --recursive small_thumbs email@example.com:foodir # copy recursive, with progress print out
- rsync -rz --progress small_thumbs firstname.lastname@example.org:foodir # same, in short hand
You need to login to post a comment.