DO NOT REPLY [Bug 7691] New: rsync remove-source-files and opened file

samba-bugs at samba-bugs at
Tue Sep 21 03:01:20 MDT 2010

           Summary: rsync remove-source-files and opened file
           Product: rsync
           Version: 3.0.6
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: thebeno at
         QAContact: rsync-qa at

when I use option remove-source-files and source files is opened and growing
rsync copy partial source file and after copying remove it even though in time
after copying the files are different

I suggest to check difference after file is copying and if source and
destination are different don`t remove the source file

next improve is to setup options like remove-source-file-delay to setup some
time after copying to check difference between source and destination and
remove source only if the files are the same

next improve is to setup options like remove-source-file-loop to setup numbers
of loop to try if source file was already closed 
if remove-source-file-loop=0 it will be forever

I hope this scenario could be implemented independently on OS and help many
people to use rsync for opened files.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list