Basic sync rsync -ivaz --delete --progress --stats --exclude='bak' --exclude='mail' /source/ /destin/ -i: –itemize
-v: –verbose
-a: -rtp…
-z: –compress
rsync --existing -nucRPhivaz --stats --delete /source/ /destination/ -n: –dry-run
-u: –update
-c: –checksum
-R: –relative, create directories in the destination if they don’t exist
-P: –progress –partial
-h: –human-readable
--delete: delete files not present in the source
--stats: give some statistics
--existing: don’t create new files in the destination, only transfer files that exist in the destination
...