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/



Reply via email to