Now on a system where -d doesnt work you need to use –max-depth instead:
SIDENOTE: check this out Article on finding largest files and folders

So the above commands are useful to recursively measure the size of directories. Note the dud commands can be thrown in together with an “-x” argument to stay within the filesystem.

Here are some example outputs of all of the above commands:

 

Leave a Reply

Your email address will not be published. Required fields are marked *