command-line return total size of a directory from the command line Posted August 2, 2016 du -hs /path/to/directory Thanks to: http://askubuntu.com/questions/1224/how-do-i-determine-the-total-size-of-a-directory-folder-from-the-command-line command line