[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #12162] Enhancement req: finding files less than 2Gb in size
From: |
Nigel McNie |
Subject: |
[bug #12162] Enhancement req: finding files less than 2Gb in size |
Date: |
Thu, 12 Nov 2009 20:38:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Chrome/4.0.222.5 Safari/532.2 |
Follow-up Comment #17, bug #12162 (project findutils):
I ran into this bug today. Having read the comments, may I make a suggestion:
Add a -filesize option, which works the way everyone clearly expects.
-filesize n[bkMGTP]
File uses n bytes of space. The following suffixes can be used:
'b' for bytes
'k' for Kilobytes (1024 bytes)
'M' for Megabytes (1048576 bytes)
'G' for Gigabytes (1073741824 bytes)
'T' for Terabytes (...)
'P' for Petabytes (...)
For bonus points: add -blocksize, alias -size to -blocksize (so people
reading the manpage can tell the difference between the two easily), and
change the wording for the help -blocksize to refer to blocks to make it
obvious that people don't want to do that when they want -filesize.
This preserves backward compatibility, while making 'find' a whole bunch more
useful.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?12162>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #12162] Enhancement req: finding files less than 2Gb in size,
Nigel McNie <=