--human-readable and --out-format %l

Wayne Davison wayned at samba.org
Tue Feb 17 06:43:36 GMT 2009

On Mon, Feb 16, 2009 at 09:29:38PM -0600, Kent Vander Velden wrote:
> Is there an alternative format type that lists the file length in a
> human readable format, perhaps optionally if --human-readable is
> specified?

No, nothing like that currently exists.  The master branch in git (that
will become 3.1.0) currently outputs log numbers with comma groupings,
but it would be much better to only do that if the user requests such a

The attached patch adds an apostrophe modifier to log escapes that lets
the user request numerical grouping, human-readable units of 1000, or
human-readable units of 1024; e.g. "%''l".  The patch will not work with
3.0.x, though.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: log-human.diff
Type: text/x-diff
Size: 2334 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20090216/32d1742c/log-human.bin

More information about the rsync mailing list