[CentOS] find /etc -size -1G return only empty files

Jobst Schmalenbach jobst at barrett.com.au
Thu Mar 25 23:42:25 UTC 2010


Its not a bug, its a feature ... and this is not a joke.

You [de|re]fine the search with the suffices you supply making it
possible to hand "find" a granularity mechanism that indeed makes
find a very powerful utilitiy.


Jobst
s

On Thu, Mar 25, 2010 at 06:16:40PM -0500, Les Mikesell (lesmikesell at gmail.com) wrote:
> On 3/25/2010 6:07 PM, Jobst Schmalenbach wrote:
> > On Thu, Mar 25, 2010 at 07:45:14AM +0100, Ala1n Sp1neu8 (aspineux at gmail.com) wrote:
> >> Hello
> >> find /etc -size -1G
> >
> > Very interesting way of finding all files with a file size of 0 ;-)
> 
> What's interesting is that the program doesn't do the unit scale 
> multiply as the first math operation. I'd call that a bug.
> 
> -- 
>    Les Mikesell
>     lesmikesll at gmail.com
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
It took the power of 3 Commodore 64's to go to the moon, but it takes a 2GHz Pentium 4 to run XP... Something is desperately wrong here!

  | |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



More information about the CentOS mailing list