SUMMARY: Checking directory size

MARK SAYER (MSAYER@cuscal.com.au)
Tue, 28 Oct 1997 13:26:00 +1100

Here's my origional question:

>Hiya -
>
>This may be a little trivial - but I can't seem to find an answer. How
>do I find the total size occupied by a number of files in a directory?
>There doesn't seem to be an ls switch which reports this, and the ls
>list of the driectory itself only shows the directory entry size....not
>the combined size of all the files it contains.
>
>Apologies for my ignorance :-)
>
>Mark.

And the answer:

du -sk filename - gives the size of the file/directory in Kb
du -s filename - gives the size of the file in blocks

Thanks to y'all for responding so promptly to my request. Got yer
answers before I got a copy of my own request! :-)

Mark.