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: Bob Proulx
Subject: Re: Need help with 'du' command
Date: Mon, 19 May 2003 10:38:20 -0600
User-agent: Mutt/1.3.28i

Paul Jarc wrote:
> Bob Proulx wrote:
> >   du -sh $(find . -maxdepth 1 -type d -print)
> >   du -sh $(ls -l | awk '/^d/{print$9}')
> 
> If you want to include symlinks to directories too, it can be much
> simpler:
> du -sh */

(Surprise!)  Wow, that is really nice.  I did not realize the shell
made that expansion restriction.  Thanks for sharing that!

Bob




reply via email to

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