Sonia Hamilton wrote:

> * On Sat, Aug 04, 2007 at 08:16:52AM +1000, Erik de Castro Lopo wrote:
> > Since you have everything in different partitions you are only 
> > interested in what happens on /dev/sdc1, you might try:
> > 
> >    sudo find / -xdev -type f -printf "%15s    %p\n" |sort -r | head -50
> > 
> > to find the 50 biggest files in /.
> 
> "sort -r" should be "sort -nr" here for this to work.

I think the printf with the width specifier gets around the problem
that "sort -nr" is supposed to fix :-).

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
When a user mailbombs me with 100,000 messages, we
call it denial of service and the guy can be thrown
in jail.  When 100,000 SPAMMERS send me one mail each,
we call it marketing.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to