|
| 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
| [Prev in Thread] | Current Thread | [Next in Thread] |