[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Findutils-patches] Fwd: find: -lsh and -flsh option for human-readable
Young Mo Kang
[Findutils-patches] Fwd: find: -lsh and -flsh option for human-readable size
Sun, 29 May 2016 01:31:13 +0900
I am re-submitting my suggested new feature patch below. Basically, the patch adds the options to output the size in human-readable format.
For example, "find /etc -name services -ls" would output
797656 20 -rw-r--r-- 1 root root 19605 Oct 25 2014 /etc/services
whereas "find /etc -name services -lsh" would output
797656 20K -rw-r--r-- 1 root root 20K Oct 25 2014 /etc/services
I believe that people would want to output the file size in human-readable format.
---------- Forwarded message ----------
Date: Sun, May 1, 2016 at 11:27 PM
I just thought it would be nice to have -lsh and -flsh options for find, which are basically identical to -ls and -fls but output in human-readable size format, displaying 'ls -dilsh'. My implementation patch is attached, but it may need some tuning and testsuite.
Description: Text Data
|[Prev in Thread]
||[Next in Thread]|
- [Findutils-patches] Fwd: find: -lsh and -flsh option for human-readable size,
Young Mo Kang <=