samba-bugs at samba.org
2014-Mar-20 11:10 UTC
[Bug 10507] New: Structured Output (for Simpler Parsing)
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.
samba-bugs at samba.org
2014-Apr-29 21:10 UTC
[Bug 10507] Structured Output (for Simpler Parsing)
https://bugzilla.samba.org/show_bug.cgi?id=10507 --- Comment #1 from Haravikk <samba at haravikk.com> 2014-04-29 21:10:41 UTC --- Just wanted to add that simplified parsing of itemised output would be nice too, and also with awareness for the --progress option, i.e; with itemised output enabled a single line for each file-list change would be provided, while with --progress at least one additional line will be provided for each file transfer indicating current or average speed and time elapsed. Output for --progress could be periodic, for example every 10 seconds and on completion, but perhaps this should be configurable, so a script can decide whether to track progress over time (e.g - to give output to a user) or to simply wait till its done to record stats. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Reasonably Related Threads
- [Bug 9812] New: Lookahead file-list loading and comparison
- [Bug 10379] New: rsync metadata files
- [Bug 10380] New: Non-Nested Folder Optimisation
- [Bug 10579] New: --xattr internal abbrev error
- Disable Client Certificate Authentication for Unencrypted Connections?