Breakdown of the 'scpr' alias
As a follow-up to ‘making rsync easy’, here’s a breakdown of what the options do.
-P— Shows the progress of the transfer, and keeps partially transferred files. Useful if you’re on an unstable connection, as you can just run the same command again if the transfer fails.-h— Outputs numbers in a human-readable format.-a— ‘Archive mode’.-v— Verbose output.-z— Compress the data being transferred.-e ssh— Usesshwhen sending data over a network.--modify-window=1— This option allows timestamps to differ by up to one second. It’s necessary if you ever need to copy to or from FAT partitions, which represent timestamps with 2-second resolution.