Size - duplicate count
Posted: Mon Sep 26, 2022 7:28 am
Someone I'm sure will say this is already there
If you search in a folder, you'll see subfolders and their files listed.
If you select all the files you'll get the folder size (in the status bar), but if you now select the subfolders as well it will increase even though those subfolders are already accounted for in the files selected (or the files accounted in the (sub)folders now selected). In fact the result will be many times the actual size because you'll have selected subfolders of subfolders, which are accounted many times in all their parents you have selected.
As far as I see it, selected files or folders that fall within any selected folder should not have their sizes counted.
There is a particularly useful situation that is most easily covered which is when you are doing a simple search in a path for all files and do Ctrl-A since the size will then be the searched folder (or the sum of all the files). At the moment the size gets multiplied many times. I see doing Alt-Enter to get the Explorer object summary suffers the same issue.
Knowing the actual size is very useful at times, such as if you are planning to zip or sftp them.
There may well be case use for such tasks in a function under the Edit Menu whose meaning is "Deselect any selected items that are included in selected folders" to remove the duplicated files/subfolders, and this would in so doing simultaneously provide the correct size in the status bar and provide a selection suitable for dragging into/processing by other software etc.
Version 1.5.0.1319a (x64)
Cheers, David
If you search in a folder, you'll see subfolders and their files listed.
If you select all the files you'll get the folder size (in the status bar), but if you now select the subfolders as well it will increase even though those subfolders are already accounted for in the files selected (or the files accounted in the (sub)folders now selected). In fact the result will be many times the actual size because you'll have selected subfolders of subfolders, which are accounted many times in all their parents you have selected.
As far as I see it, selected files or folders that fall within any selected folder should not have their sizes counted.
There is a particularly useful situation that is most easily covered which is when you are doing a simple search in a path for all files and do Ctrl-A since the size will then be the searched folder (or the sum of all the files). At the moment the size gets multiplied many times. I see doing Alt-Enter to get the Explorer object summary suffers the same issue.
Knowing the actual size is very useful at times, such as if you are planning to zip or sftp them.
There may well be case use for such tasks in a function under the Edit Menu whose meaning is "Deselect any selected items that are included in selected folders" to remove the duplicated files/subfolders, and this would in so doing simultaneously provide the correct size in the status bar and provide a selection suitable for dragging into/processing by other software etc.
Version 1.5.0.1319a (x64)
Cheers, David