bug-coreutils
[Top][All Lists]
Advanced

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

Re: Need help with 'du' command


From: Paul Jarc
Subject: Re: Need help with 'du' command
Date: Mon, 19 May 2003 10:31:16 -0400
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

address@hidden (Bob Proulx) wrote:
>   du -sh $(find . -maxdepth 1 -type d -print)
>
> Alternate method of listing only dirs.
>
>   du -sh $(ls -l | awk '/^d/{print$9}')

If you want to include symlinks to directories too, it can be much
simpler:
du -sh */


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]