Get total diskspace usign du for multiple directories
Use the flag --total
in the du
command.
du -sh --total dir1 dir2
From man du
:
-c, --total produce a grand total
Use the flag --total
in the du
command.
du -sh --total dir1 dir2
From man du
:
-c, --total produce a grand total