File changed during save....

Tony Abernethy tony at
Sun Sep 16 16:23:57 GMT 2007

Matt McCutchen wrote:
> On 9/15/07, roland <devzero at> 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:
> Matt
> -- 

Note that back-to-back rsyncs make the window of opportunity much
much smaller for things to change during transit.

More information about the rsync mailing list