Get the total size of multiple folders in Linux command line
Printing the size of each directory and then their grand total:
du -sch folder1 folder2 folder3
- s - display only a total
- c - produce a grand total
- h - in human readable format
Links
- How do I get the size of a directory on the command line? unix.stackexchange.com/questions/185764/how-do-i-get-the-size-of-a-directory-on-the-command-line
- du(1) - Linux man page: linux.die.net/man/1/du
Operating systems
- Linux