[plug] bash scripting problem
Ryan
ryan at is.as.geeky.as
Fri Aug 8 14:47:31 WST 2003
On Fri, 2003-08-08 at 14:43, David Buddrige wrote:
> Hi all,
>
> I am trying to write a bash script that will give me the size of each of the
> directories in a given directory. However, I only want the size of the
> directories that are at the first level.
du --max-depth=1 .
or do you mean you want to sum the _files_ directly _in_ the first level
directories - thus exlcluding what is in their respective
subdirectories?
Ryan
More information about the plug
mailing list