Page 1 of 1

Overall directory sizes in status bars

Posted: 2022-06-19, 13:05 UTC
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...

Re: Overall directory sizes in status bars

Posted: 2022-06-20, 07:37 UTC
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.

Re: Overall directory sizes in status bars

Posted: 2022-06-20, 07:47 UTC
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.)

Re: Overall directory sizes in status bars

Posted: 2022-06-20, 09:24 UTC
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..