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

Re: Find by size?



On Wed, Jan 06, 1999 at 12:39:52PM -0800, jeff vier wrote:

> I can't figure our how to get 'find' to find files greater
> than x. '-size xc' seems to only want to give me files equal to x
> bytes (which, as you might have guessed, is entirely unhelpful).  So,
> what's the command for finding files greater than x?

        find . -size +500c

lists files greater than 500 bytes;

        find . -size -500c

lists files less than 500 bytes;

        find . -size +500c -size -1000c

lists files greater than 500 bytes but less than 1000 bytes etc.

-- 
|<ris 				*/ witty signature comment /*



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