How do I get the disk usage of a directory including hidden directories/files?

~ 0 min
2015-08-24

Using du with a wildcard would not normally include "hidden" directories/files (those starting with a dot). But you can show the usage with this simple command.

du -sch .[!.]* *

 

Average rating 5 (1 Vote)

You cannot comment on this entry