I know you are able to see the byte size of a file when you do a long listing with ll
or ls -l
. But I want to know how much storage is in a directory including the files within that directory and the subdirectories within there, etc. I don't want the number of files, but instead the amount of storage those files take up.
So I want to know how much storage is in a certain directory recursively? I'm guessing, if there is a command, that it would be in bytes.
Best Answer
Try doing this :
or
needs
-h
support, depends of your OS.See