[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] "My hard Drive needs to lose some weight" - Raq4R



> On Sat, 17 Mar 2001, Rodolfo Paiz wrote:
> > du -h --maxdepth=1 /
> 
> after looking at the above tip and trying it,
> i had some problems with "du".
> 
> 
> [root /]# du -h --maxdepth=1 /
> du: unrecognized option `--maxdepth=1'
> Try `du --help' for more information.

Note the spelling "maxdepth" instead of "max-depth".
My mistake and yours. Should've typed 'du --help'...
<grin>

> su -
> cd /
> du -sk * | sort -rn | less

Interesting solution, too... I learn something everyday.

-- 
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx <mailto:rpaiz@xxxxxxxxxxxxxx>