why does this rsync commands copy again the same files?

M. Fioretti mfioretti at nexaima.net
Thu Nov 22 22:21:50 UTC 2012


On Thu, Nov 22, 2012 23:07:33 PM +0100, Reindl Harald wrote:

> as said: please compare the timestamp on the target most likely the
> timestamp on vfat contains daylight-savings which is not the case on
> unix-filesystems

Indeed! Thanks. Here are the outputs of fstat on two copies of the
same file, just rsync-ed from the ext4 folder to the vfat ext drive:

[marco at avalon LACIE]$ stat  --format "%y" /home/z/photo/2011/20110719/P1110546.JPG
2011-07-19 07:28:36.000000000 +0200
[marco at avalon LACIE]$ stat  --format "%y" /media/LACIE/photo/2011/20110719/P1110546.JPG
2011-07-19 06:28:36.000000000 +0200

OK, thanks you got it exactly right!!! But, now what? Is there any way
to keep the drive vfat AND end this problem, without losing file
modification time? I'd really like to keep the vfat simply because some of
those drives are not mine (*)


Marco

(*) I do photo archiving for the extended family, and telling some of
them to "mess with their computers" to make them read decent file
systems would be... OK, pls tell me if there's another way first...



More information about the users mailing list