File changed during save....

Matt McCutchen hashproduct+rsync at gmail.com
Sun Sep 16 15:56:33 GMT 2007


On 9/15/07, roland <devzero at web.de> wrote:
> what`s the rsync equivalent to this?
> how can i see which files changed while rsync was transferring them ?

Handling of concurrent changes to source files is one of rsync's
weaknesses.  The rsync sender naively reads each source file from
beginning to end and sends what it sees; it doesn't detect if source
files change while being transferred.  In many cases, the concurrent
modification will leave the source file with an mtime different from
the mtime rsync saw when it statted the file during file-list building
(which gets set on the destination file), so a subsequent rsync run
will fix the corrupted destination file.  See this thread for more
information:

http://lists.samba.org/archive/rsync/2006-January/014534.html

Matt


More information about the rsync mailing list