why does --size-only not detect change only is size (but also time)?
csights at fastmail.fm
Wed Apr 18 23:37:44 GMT 2007
I'm wondering why when I use --size-only on the same file, except the
modification time, rsync transfers the modification time?
I was under the impression that --size-only caused rsync to transfer files
based upon differences in the size of the file.
#cp Untitled.pdf Untitled-2.pdf
#rsync -ani --size-only Untitled.pdf Untitled-2.pdf
#ls -al --block-size=1 Untitled*
-rw------- 1 csights csights 20696 2007-04-18 19:00 Untitled-2.pdf
-rw------- 1 csights csights 20696 2007-04-18 19:08 Untitled.pdf
It seems to me as though this file should not be transfered because the sizes
are the same.
More information about the rsync