On 24-Dec-1999, Shao Zhang <[EMAIL PROTECTED]> wrote:
> Paul J. Keenan [EMAIL PROTECTED] wrote:
> > Shao Zhang wrote:
> > > 
> > > Hi,
> > >         How can I use 'find' together with other shell tools to scan the
> > >         directory and print the filename if it is over a certain size.
> > > 
> > 
> > >From find(1)
> > 
> >        -size n[bckw]
> >               File uses n units of space.  The units are 512-byte
> >               blocks by default or if `b' follows n, bytes if `c'
> >               follows  n,  kilobytes  if `k' follows n, or 2-byte
> >               words if `w' follows n.  The size  does  not  count
> >               indirect blocks, but it does count blocks in sparse
> >               files that are not actually allocated.
> > 
> 
>       This will only find files with the exactly or rounded same size.
>       It does not give me the option to specify to print out files
>       OVER a certain size.
> 
>From the man page

TESTS
  Numeric arguments can be specified as
    +n     for greater than n,
    -n     for less than n,
     n     for exactly n.

However I must admit that I do find the man page for find a hard read.

Pete

Reply via email to