]> arthur.barton.de Git - bup.git/commit
Add -l and --human-readable options to "bup ls".
authorKumar Appaiah <a.kumar@alumni.iitm.ac.in>
Sun, 25 Aug 2013 19:02:18 +0000 (15:02 -0400)
committerRob Browning <rlb@defaultvalue.org>
Mon, 26 Aug 2013 00:28:44 +0000 (19:28 -0500)
commit98a8e2ebb775386cb7e66b1953df46cdbd4b4bd3
treec29e408509729e3f6acd5f0d31a53c8343bd2daf
parent68738a00ae985161a291a4feebbe9ea85512bf4f
Add -l and --human-readable options to "bup ls".

When -l is specified, include the size in bytes for each item.

When --human-readable is also specified, print sizes like 3.5K, 1.8G,
etc., instead of the exact byte count.

Signed-Off-By: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
[rlb@defaultvalue.org: adjust commit message; adjust newlines; squash
 two of Kumar's patches into this one.]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Documentation/bup-ls.md
lib/bup/ls.py