How to know the size of a directory? Including subdirectories and files.
How can I calculate the size of a directory?
directory
du -s directory_nameOr to get human readable output:du -sh directory_nameThe -s option means that it won't list the size for each subdirectory, only the total size.