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


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
Last update:
2015-08-24 22:17
Author:
Chris Burton
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags