Article 5759C copying with rsync: why files with the same name are not updated?

copying with rsync: why files with the same name are not updated?

by
Didier Spaier
from LinuxQuestions.org on (#5759C)
Hello,

I make a backup of files stored in an USB attached SSD to an USB attached HD. This includes images ISO.

After having run this command:Code:rsync -avP -H --delete-after /data/ /USBHD/data/ 2>&1 | tee /tmp/log.synchro.datathe sizes of /data/images_iso and the destination directory /USBHD/data/images_iso differ.

A diff of the output of ls -1s /data/images_iso vs ls -1s /data/USBHD/images_iso shows that the filenames are the same but in some cases the sizes differ, so the files are not identical in the source and the destination.

Is there something wrong in the rsync command? else, what could cause this unexpected outcome?latest?d=yIl2AUoC8zA latest?i=J_14bmpX5pU:Pnu1sXLuGPM:F7zBnMy latest?i=J_14bmpX5pU:Pnu1sXLuGPM:V_sGLiP latest?d=qj6IDK7rITs latest?i=J_14bmpX5pU:Pnu1sXLuGPM:gIN9vFwJ_14bmpX5pU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments