https://bugzilla.samba.org/show_bug.cgi?id=7691

           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: way...@samba.org
        ReportedBy: theb...@zoznam.sk
         QAContact: rsync...@samba.org


Hi,
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.
peter


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to