[plug] directory size listing

Rennie renene at barekoala.net
Sat May 22 23:50:33 WST 2004


On Sat, 22 May 2004 11:26 pm, Ryan wrote:
> Sending again as the PLUG mail server spat my message back at me:
>
> On Sat, 2004-05-22 at 23:15, Rennie wrote:
> > This is probably a stupid question, but how does one get ls (or any other
> > command) to list the size of directories?
>
> Have a look at the 'du' command.
>
> The --max-depth option is particularly handy.
>
> Ryan
That's it! 

Thanks Ryan.

"ls -la" was listing each directory as being 4.0K no matter what was in it. Is 
this just a Rieser thing or is that the same for all file systems?

Cheers,

Rennie



More information about the plug mailing list