rsync seems to overwrite already existing file on ExFat
I have a curious behavior from rsync between two hard drives containing the exact same four partitions. However on one partition rsync seems to always copy again the files, I don't understand why.
rsync -r --update --progress "/media/part3/" "/media/part3_backup" --exclude '.Spotlight-V100' --exclude '.fseventsd' --exclude '.Trashes' --exclude '._.Trashes' --exclude '.TemporaryItems' --exclude '._.TemporaryItems' --delete
Any explanation is welcome.
Solution 1:
I had the same problem using rsync -avx from ext4 to exfat. It was copying files over all the time. -avx was not preserving the times and giving me a Operation not permitted (1) error.
This worked for me
rsync -rtv [source] [destination]
Explanation:
- r: recursive
- t: preserve times
- v: verbose
You have to make sure that the times are preserved.