diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-10-26 14:57:01 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-10-26 14:57:01 +0100 |
commit | 57ad6cb3c10ebce6c6faff36160f6fe76a5d3b58 (patch) | |
tree | f213c8732263a63a57098d36f83291943f4c2ab3 /README.md | |
parent | c500373deff3f2bf94bf30a720bc52b569743d68 (diff) | |
download | lr-57ad6cb3c10ebce6c6faff36160f6fe76a5d3b58.tar.gz lr-57ad6cb3c10ebce6c6faff36160f6fe76a5d3b58.tar.xz lr-57ad6cb3c10ebce6c6faff36160f6fe76a5d3b58.zip |
add human readable sizes
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md index d5ebc2d..7cb19a6 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Over ls: ## Usage: - lr [-0|-F|-l|-f FMT] [-D] [-H|-L] [-1Qdsx] [-U|-o ORD] [-t TEST]* PATH... + lr [-0|-F|-l|-f FMT] [-D] [-H|-L] [-1Qdhsx] [-U|-o ORD] [-t TEST]* PATH... * `-0`: output filenames seperated by NUL bytes (implies `-Q`). * `-F`: output filenames and an indicator of their file type (`*/=>@|`). @@ -45,6 +45,7 @@ Over ls: * `-1`: don't go below one level of directories. * `-Q`: don't shell quote file names. * `-d`: don't enter directories. +* `-h`: print human readable size for `-l` (also `%s`). * `-s`: don't print leading `./`. * `-x`: don't enter other filesystems. * `-U`: don't sort results. @@ -56,6 +57,7 @@ Over ls: * `\a`, `\b`, `\f`, `\n`, `\r`, `\v`, `\0` as in C. * `%%`: plain `%`. * `%s`: file size in bytes. +* `%S`: file size, with human readable unit. * `%b`: file size in 512-byte blocks. * `%k`: file size in 1024-byte blocks. * `%d`: path depth. |