bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: find: -lsh and -flsh option for human-readable size


From: Young Mo Kang
Subject: Fwd: find: -lsh and -flsh option for human-readable size
Date: Sun, 29 May 2016 01:31:13 +0900

Hello,

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.

Best,
Young

---------- 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.

Attachment: 0001-find-support-list-in-human-readable-format.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]