[Bug 10507] New: Structured Output (for Simpler Parsing)

samba-bugs at samba.org samba-bugs at samba.org
Thu Mar 20 05:10:53 MDT 2014


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: wayned at samba.org
        ReportedBy: me at haravikk.com
         QAContact: rsync-qa at samba.org


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.


More information about the rsync mailing list