du –exclude

if I want to do a “du” command, and want to exclude certain folders (like /mnt in my case) I would run this while at root level, in the root folder.

#du -hs –exclude=’mnt’ *

Leave a Reply

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

Time limit is exhausted. Please reload CAPTCHA.