i have plenty of empty directories and i wonder if there's a way to display actual direcory sizes (after some sort of scan maybe) in MC
Asked
Active
Viewed 5.3k times
38
-
2Others already answered Ctrl-Space, but since you mention empty dirs, you may also find this non-MC tip useful: `find . -type d -empty`. Or even `find . -depth -type d -empty -delete` (but be careful: some empty dirs are important). – mivk Jun 06 '12 at 21:19
-
Of cours you can also Ctrl+o and then `du -sh */` or `ncdu -rx .` – Pablo A Sep 30 '20 at 22:46
3 Answers
60
Press Ctrl + Space on current directory and this will show it size. Also, you can use visual select to apply this command on multiply items.
If you press Ctrl + Space on ..
directory mc will calculate size of all subdirectories in current dir
To see total size of all directories, you can select them all using Inserl key, and see total size at the bottom of the panel

dhyan.nataraj
- 3
- 2

Sergey Vakulenko
- 701
- 5
- 4
-
-
1
-
2@Maxim you could do that pressing the shortcut on top `..`, then mc would calculate space for all folders in current dir – logoff Aug 10 '19 at 15:09
-
Hmm.. I have pressed Ctrl + Space and got size for each directory but not total size. The single way I know for now - choose all files folders and press Ctrl + Space. – Maxim Oct 16 '19 at 00:09
15
Just go to "Command" menu and select "Show directory sizes" in desired root directory.

Paul
- 1,857
- 1
- 11
- 15