Bug: rsync erroneously changes modification time

Fabian Cenedese Cenedese at indel.ch
Mon Jun 12 06:43:43 UTC 2017

At 08:11 12.06.2017, max.power--- via rsync wrote:
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline
>How exactly does rsync determine that the copy has the incorrect  
>timestamp and not the source file?
>Does it assume that the copy must be incorrect or are there other  
>criteria that have to be considered?

rsync is only synching one way, it's always going from source to dest.
Therefore source is always 'correct' whereas dest will be adjusted to
match source. If you want a two way synching you'd need to call
rsync twice with different parameters (and switched source/dest)
or use a different tool.

bye  Fabi

More information about the rsync mailing list