Overall directory sizes in status bars

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Overall directory sizes in status bars

Post by *funkymonk »

Since TC supports Everything to quickly get the size of directories for the file panels, I really like the option “Automatic, only with ‘Everything’”. That is really useful.

However, I now miss some other information to be displayed permanently:
The overall size of the current directory *without* subdirs.

---

The overall size of the current directory (in the status bar of each panel) includes the subdirs once their size is known.
On the other hand, this is intuitive and it would be strange to exclude the subdir sizes.
On the other hand, the size of the current directory *without* subdirs is no longer shown directly. In order to get that information, you can select all files, check the size, and unselect them again. Since this is cumbersome, I suggest to display *two* overall sizes: one with and one without subdirs.

Maybe like that:
1’234 k / 56’000’000 k (23’000 k) in 4 / 23 file(s), 0 / 22 dir(s)

This is similar to before, but also shows the overall size without subdirs in brackets.

---

Maybe this additional value could be activated as an option...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Overall directory sizes in status bars

Post by *ghisler(Author) »

You could use a hotkey or button with the command
cm_SelectAllFiles
to only select files and see their size in the footer.
Author of Total Commander
https://www.ghisler.com
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: Overall directory sizes in status bars

Post by *funkymonk »

That is exactly what I want to avoid.

(Then I would have to save the previous selection and restore it afterwards. Of course, that can also be done with commands. But as said: a permanent display of the value would be great.)
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Overall directory sizes in status bars

Post by *nsp »

Everything even folder properties do not provide a folder size without sub-folders. If you want to get it quickly, you need to sum like:

Code: Select all

cmd:cmd /c 
param:es /a-d -parent "%P" -get-total-size&pause
The total size cannot be formatted just in byte.
A nicer output is produced by du.exe from sysInternals

Code: Select all

cmd:cmd /C
params:du -nobanner -n -v -q "%P"&pause
you can create a button/alias If you want the info in an ugly console with limitation as not working in archive, nor in branchView.

In TC this could be a switch command to change size format.. Select all or hiding folders (CD |*\) is for sure not a solution as you lost current selection..
Post Reply