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

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



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?
> >
> > My file system is 88% full and I'd like to see where the biggest space
> > hoggers are.
> 
> I also found this on the net:
> du /path/to/anywhere/* -hs | grep [0-9]M | sort -rn | head -20

This only shows you usage for directories less than 1GB. (and more than
1MB)
To see all:

du /path/to/anywhere/* -s | sort -rn | head -20

_______________________________________________
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