PATCH: better progress reporting
mbp at samba.org
Fri Mar 15 11:35:29 EST 2002
On 14 Mar 2002, Cameron Simpson <cs at zip.com.au> wrote:
> 158253 100% 160.48kB/s 0:00:00
> 9309389 100% 397.71kB/s 0:00:22
> 456809 100% 437.78kB/s 0:00:01
> 1371196 100% 433.77kB/s 0:00:03
Good in concept. The current output does look a bit dumb.
I'd like to take a broader look at our progress reporting. Since we
have the whole file list, in theory we know not only about progress
through the current file, but also progress in the overall tree.
Perhaps something like the output from Debian's apt, if you know that.
I'm wondering about a --machine-readable option that produces status
output in a way that can be easily parsed by scripts or GUIs and that
allows room for extension without breaking existing scripts. At the
moment I'm leaning toward an rfc822-like plain text format with tags
at the start of each line, and encouragement to parsers to ignore
lines they do not understand.
I guess somebody is going to say "XML" at this point, but it does seem
More information about the rsync