Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2008 19:06:35 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        John Almberg <jalmberg@identry.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to find files that are eating up disk space
Message-ID:  <20081217190539.T2011@wojtek.tensor.gdynia.pl>
In-Reply-To: <7B241EE7-10A4-4BAA-9ABC-8DA5D4C1048B@identry.com>
References:  <283ACBF4-8227-4A24-9E17-80A17CA2A098@identry.com> <7B241EE7-10A4-4BAA-9ABC-8DA5D4C1048B@identry.com>

next in thread | previous in thread | raw e-mail | index | archive | help
why not

du|sort -r|head -20

and you get 20 largest

> I should probably have mentioned that what I currently do is run
>
> 	du -h -d0 /
>
> and gradually work my way down the tree, until I find the directory that is 
> hogging disk space. This works, but is not exactly efficient.
>
> -- John
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081217190539.T2011>