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 ? Regards -- Alain Spineux | aspineux gmail com Your email 100% available | http://www.emailgency.com ntbackup and tar frontend sending mail report | http://www.magikmon.com/mkbackup/
Nicolas Thierry-Mieg
2010-Mar-25 09:03 UTC
[CentOS] find /etc -size -1G return only empty files
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.
Jobst Schmalenbach
2010-Mar-25 23:07 UTC
[CentOS] find /etc -size -1G return only empty files
On Thu, Mar 25, 2010 at 07:45:14AM +0100, Ala1n Sp1neu8 (aspineux at gmail.com) wrote:> Hello > find /etc -size -1GVery interesting way of finding all files with a file size of 0 ;-) Jobst> > 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 ? > > Regards > > -- > Alain Spineux | aspineux gmail com > Your email 100% available | http://www.emailgency.com > ntbackup and tar frontend sending mail report | > http://www.magikmon.com/mkbackup/ > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- "She said she loved my mind, though by most accounts I had already lost it." | |0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L & The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Maybe Matching Threads
- wich filesystem to store > 250E6 small files in same or hashed dire
- Xen patches merged to upstream Linux 2.6.36, plans for 2.6.37?
- [PATCH 2/2] graphics passthrough with VT-d
- bridge throughput problem
- [LLVMdev] I have built a whole-program bitcode file for openldap-2.19