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

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



Ala1n Sp1neu8 wrote:
> Hello
> find /etc -size -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 ?

not sure, but:
-1  strictly less than one, being an int that has got to be zero.
G   unit is GB.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux