rsync -avz
rsync -av
rsync -avc
If you're copying to a FAT filesystem, use rsync -rtlD --modify-window=2
. FAT filesystem time resolution isn't as exact as, say, ext4, so modify-window
gives some wiggle room to time comparisons.
You probably want --remove-source-files
. Verify that copies work first! Chaining an equivalent rsync
with --remove-source-files
added after the first rsync
can help you verify before committing to the deletion.