* Andrei Popescu <andreimpopescu@gmail.com> [2007:07:15:18:57:13+0300] scribed:
> On Sun, Jul 15, 2007 at 09:54:25AM -0400, Curt Howland wrote:
>
> > I was just fiddling with the "tree" utility to see if it would help.
> > Unfortunatley, "tree -d -h" returns the size of the directory entries
> > themselves (4.0K, 8.0K, etc), rather than the cumulative size of the
> > files inside the directory which I was hoping for. Maybe someone else
> > has a suggestion.
>
> du -xh --max-depth=1 will do the trick, but you will need to do it as
> root, otherwise you'll get 'permission denied' on some dirs. Here is
> mine for comparison (/home is on a separate partition, but it's not
> shown due to the -x option):
<snip />
Actually, I prefer the following:
sudo du -x --max-depth=3 / | sort -nr | head -n 25
--
Best Regards,
helices
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know. The more I know, the more I know I don't know . . .
--
Attachment:
signature.asc
Description: Digital signature