Page 1 of 1

Count size (Space or Alt+Shift+Enter): show % and dir name

Posted: 2017-03-25, 14:08 UTC
by DrShark
Currently when user hits Space on a folder or Alt+Shift+Enter in panel, TC shows ? instead of <DIR> in "Size" column of each folder till its occupied space gets counted. I suggest to show % from number of subfoders which sizes TC already got, and near it also show the name of subfolder which size TC is currently counting if count time for that subfolder is more than X seconds, like that:
Name   |Size     |
-------------------------------
Windows | 65% (winsxs)|

Posted: 2017-03-25, 16:56 UTC
by sqa_wizard
Nice try :wink:

To show a percentage value, TC must know how many files and folders are available in total.
Therefore TC must scan the whole tree.
... but after this TC already knows the overall size. :!:

It would be nice if the calculation could be done using "everything".
Then the result is available immediately ... at least for local ntfs drives.

Posted: 2017-03-25, 18:49 UTC
by DrShark
sqa_wizard wrote:To show a percentage value, TC must know how many files and folders are available in total.
Therefore TC must scan the whole tree.
... but after this TC already knows the overall size. :!:
After scanning the tree TC still have to do some math to get total size. Anyway, TC also can show show a percentage value based only on first level subitems (folders/files) size count. I mean, if a folder has 5 files and 5 subfolders, it could show 50% after files sizes sum is counted (10% for each file), and add 10% for each subfolder and its tree counted size.
sqa_wizard wrote:It would be nice if the calculation could be done using "everything".
Then the result is available immediately ... at least for local ntfs drives.
Yes, this is a nice idea.