[CentOS] "find" switch to find files of a certain size?
Bill Campbell
centos at celestial.com
Sun Jan 13 03:33:47 UTC 2008
On Sun, Jan 13, 2008, Fajar Priyanto wrote:
>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
>
I usually use something like:
find /mountpoint -xdev -size +10000 > someplacenotfull
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
Our Foreign dealings are an Open Book, generally a Check Book.
Will Rogers
More information about the CentOS
mailing list