A quick tip about determining the size of a folder by using the command line. As always when using the linux command line, there’s a usefull tool available. In this case the build-in tool du
will provide us with a solution.
du -hs [folder]
Example:
du -hs /data/backup/
Output:
106G /data/backup/
More information about
du
can be found in the manpage.