bug-findutils
[Top][All Lists]
Advanced

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

[bug #12162] Enhancement req: finding files less than 2Gb in size


From: dan pritts
Subject: [bug #12162] Enhancement req: finding files less than 2Gb in size
Date: Mon, 18 Aug 2008 16:13:20 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.16) Gecko/20080803 Camino/1.6.3 (like Firefox/2.0.0.16)

Follow-up Comment #9, bug #12162 (project findutils):

MacOS find behaves in the way i'd expect, at least in the obvious case of
-size -1G; 

It has this in the man page:

     -size n[ckMGTP]
             True if the file's size, rounded up, in 512-byte blocks is n. 
If
             n is followed by a c, then the primary is true if the file's
size
             is n bytes (characters).  Similarly if n is followed by a scale
             indicator then the file's size is compared to n scaled as:

             k       kilobytes (1024 bytes)
             M       megabytes (1024 kilobytes)
             G       gigabytes (1024 megabytes)
             T       terabytes (1024 gigabytes)
             P       petabytes (1024 terabytes)

I've asked a bsd-head friend for a login on his box and will report back what
i find.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?12162>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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