Linux offers a nice command to check the size of a Directory
The size of a directory and its contents can be determined using the “du” command in Linux. It has a variety of options that you can view via “du –help”.
Use the command below to displays the sizes of the directory and its subdirectories in human-readable form.
du -h directory
How to Linux: Get Directory Size in Human Readable – How do I determine the size of a directory?