SUMMARY: Checking directory size

Date: Mon Oct 27 1997 - 20:26:00 CST

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 :-)

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! :-)


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:06 CDT