find /etc -size -1G return only empty files

Kevin J. Cummings cummings at kjchome.homeip.net
Thu Mar 25 14:19:08 UTC 2010


On 03/25/2010 02:45 AM, Ala1n Sp1neu8 wrote:
> Hello
> find /etc -size -1G

Get rid of the "-" before the 1G....

> should return all files less than 1Giga byte in /etc, but return a
> list of empty file (size=0)
> 
> find /etc -size -2G
> 
> work fine and return all the files
> 
> This works the same  on my fedora11 and my centos 5 !
> 
> Did I miss something or is it a bug ?

You missed something.  B^)

> Regards

-- 
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)


More information about the users mailing list