[Bug 10405] New: Feature request: Add support for pre/post cmds for the rsync client

samba-bugs at samba.org samba-bugs at samba.org
Wed Jan 29 14:50:45 MST 2014


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

           Summary: Feature request: Add support for pre/post cmds for the
                    rsync client
           Product: rsync
           Version: 3.1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: idl0r at qasl.de
         QAContact: rsync-qa at samba.org


Hi,

it would be really useful to have some kind of --pre-cmd/--post-cmd and esp.
more advanced like --post-cmd-fail, --post-cmd-success.
rsync should then execute the passed scripts and (add a command for it as
well?) it should also pass the list of transfered (all), failed or successfully
transfered files/dirs.
A control option for it could e.g. look like --cmd-pass=[0|1|2|3] where:
0 = disabled, nothing passed at all
1 = only successfully transfered objects
2 = only failed
3 = any

That would make rsync almost perfect and one could easily take care of
different situations without having to parse the complete output of rsync. It
shouldn't be that difficult actually, esp. basic pre/post cmds.

I'd perhaps even try to write a patch that adds the mentioned features (in case
I get to it).

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list