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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
--
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