On Mon, 7 Oct 2002, Jacob Meuser wrote:

> On Tue, Oct 08, 2002 at 02:28:45AM +0000, Bob Crandell wrote:
> > Along with this, how do you tell how much space a given directory tree takes up?
>
> $ du -sk
> $ du -ck
>

all together now!

 for each in `ls -1`; do if [ -d $each ] ; then du -sk $each | tr "\012"
"\t"; grep ":`ls -ldn $each | gawk '{print $4}'`:" /etc/group | sed
's/\:.*//g' ; fi ;done

Heh, that was worth it for the giggles.

-po

_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to