why does --size-only not detect change only is size (but also time)?

Wayne Davison wayned at samba.org
Thu Apr 19 01:03:17 GMT 2007

On Wed, Apr 18, 2007 at 08:40:40PM -0400, CSights wrote:
> Yes, the file was not actually transferred because I used the -n option.

The -n is irrelevant.  If rsync considered the file to be in need of a
transfer, it would have output a file-transfer character in the first
column of the -i output.  Since it output a period, it is just telling
you that the file needed an attribute tweaked -- in this case, the mod-
ified time (the 't' in the output).  If rsync were adjusting some other
preserved attribute, it would have output that letter as well (or
instead).  For instance, if a file just needed its group tweaked, it
might look like this:

.f.....g... Untitled.pdf

See Matt's answer for a discussion of how --no-times can be used.


More information about the rsync mailing list