A question about rsync

Martin Pool mbp at samba.org
Mon Jun 7 03:59:26 GMT 2004


On  7 Jun 2004, Guo jing <guojingxx at hotmail.com> wrote:
> Thanks for your answer!
> Yes,my question is that if we can get a good result when the file is 
> changing while it is being copied by rsync  
> 
> In my test, if the file is being augmented while it been copied using 
> rsync.I can get a normal copy on the other end and the result file is the 
> same as what the source file is when the rsync scanning. The same result 
> can be gotten if the sour file is reduced and the blocks were not occupied. 
> 
> As you said, if the source file reduced and the blocks were occupied by 
> other files there will be a file with other file's content and a abnormal 
> end on the other end.
> 
> So,is this true that we can't deal with this problem except to do some 
> changes with the OS ?

Yes, or don't change the file while it is being copied.

-- 
Martin 


More information about the rsync mailing list