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

Chris Burton
2015-08-24 22:17

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 .[!.]* *

 

Tags: disk, disk usage, dot, du, hidden, usage
Average rating: 0 (0 Votes)

You cannot comment on this entry