[CentOS] "find" switch to find files of a certain size?

Sun Jan 13 03:16:44 UTC 2008
Fajar Priyanto <fajarpri at cbn.net.id>

On Thursday 10 January 2008 23:21:55 techlists at comcast.net 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

It will sort the space usage of each directories.
HTH,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
10:15:48 up 1 day, 14:14, 2.6.22-14-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20080113/7255ca77/attachment-0004.sig>