RE: "find" switch to find files of a certain size?

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



On Mon, 2008-01-14 at 16:59 +0100, Carl Boberg wrote:
> > On Mon, 2008-01-14 at 09:56 -0500, William L. Maltby wrote:
> > > On Mon, 2008-01-14 at 08:21 +0100, Andreas Kuntzagk wrote:
> > > > Am Sonntag, den 13.01.2008, 10:16 +0700 schrieb Fajar Priyanto:
> > > > > On Thursday 10 January 2008 23:21:55 
> > techlists@xxxxxxxxxxx wrote:
> > > > > > Is there a switch in "find" (or some other command 
> > besides find) 
> > > > > >that'll  let you find files larger than a specified size?
> > > > > ><snip>
> > 
> > ><snip>

> Why not just use find to test for a file size since thats what he asked
> for in the first place :)
> 
> find ./ -size +5M
> 
> Finds all files recursively from the dir you are standing in with a size
> of 5 MB or more.
>  -size n[cwbkMG] File uses n units of space
> Numeric arguments can be specified as
> +n     for greater than n,
> -n     for less than n,
> n      for exactly n.

YES! I got caught up in, side-tracked by the "du" replies and didn't
carefully re-read the OP.

--
Bill


_______________________________________________
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