Re: [SLUG] Complete directory size question

From: Ed Centanni (ecentan1@tampabay.rr.com)
Date: Fri Sep 06 2002 - 22:20:51 EDT


I routinely create a script I call dus:

du ./* -s

I put it in /usr/bin. Best used by changing (cd) to the directory of
interest and invoking there.

Another favorite is a home brew script named where:

find . -name "*$1*"

Ed.

Andrew Wyatt wrote:

> On Friday 06 September 2002 9:29 pm, you wrote:
>
>>Is there a utitity that will list the size of a directory including all the
>>subdirectories and files contained therein?
>>Smitty
>>
>
> du -bh ./wherever | tail -n 1 | awk '{print $1}'
>
>



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:07:04 EDT