Renaud,
You can get the information you're looking for by using this neat little
command.
du -h <dir(s) to be listed> --max-depth=1
Example:
du -h / --max-depth=1
give it a try...you'll love it!
Mark
Renaud OLGIATI wrote:
>
> Hi all,
>
> I've been trying to find a way to get, for each sub-directory of a given
> directory, the total amount of disk-space used up by that sub-directory and
> all its sub-sub-directories.
>
> Is there a way to do this with du ,
>
> Or any other way ?
>
> I dont need/want the breakdown with all the sub-sub-directories listed, only
> the total for each first-level sub-dir.
>
> TIA,
>
> Ron the Frog, on the banks of the Paraguay River.
> --
> Always remember that you are unique.
> Just like everyone else.
> --- http://personales.conexion.com.py/~rolgiati ---