https://bugzilla.samba.org/show_bug.cgi?id=10507
Summary: Structured Output (for Simpler Parsing)
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Currently the output from rsync for itemised output and stats is nice and human
friendly, but it'd be nice if a flag could be set that would give output in an
easier to parse format for scripts etc.
For example, with stats enabled all of the relevant stats may be given in the
final line of output in a tab-delimited format in a specific, documented, order
with all values in bytes, allowing a script to simply use awk or read to easily
parse and process these.
While it is possible to parse the current output after a fashion, it's not
guaranteed to remain consistent in future so I'm not sure whether it's safe to
rely on the format, so something specifically intended (and optimised) for
parsing would be better.
--
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