Page 1 of 1
Folder sizes
Posted: 13 Dec 2024 18:19
by oblivion
The new folder structure report -- nice.
But I spent a while trying to work out if I could include folder sizes in the report without including all the files (effectively a flat report listing folders in the current folder and including the data I can see if I use the Folder Sizes button) and couldn't. So one for the wish list, please?

Re: Folder sizes
Posted: 14 Dec 2024 18:42
by admin
Yes, something for the low prio list.
Curious: Why do you want it? What are your plans with that number?
Re: Folder sizes
Posted: 16 Dec 2024 18:44
by oblivion
I have a series of folders in an archive: year, then subfolders for the month, lots of files therein. I was hoping to get the months with their folder sizes without having to, well, do much work. The new facility arrived at just the time it'd have been useful, hence me digging.
I think I get that it'd add overhead to the list production. How about optionally including any data already created by the Folder Sizes button and ignoring it otherwise?

Re: Folder sizes
Posted: 17 Dec 2024 00:03
by admin
But what good are folder sizes to you?
Re: Folder sizes
Posted: 17 Dec 2024 16:24
by oblivion
In this case, trying to assess the rate of growth of an archive so I can predict storage needs over time.
Re: Folder sizes
Posted: 17 Dec 2024 16:58
by admin
I see. This script should do (for the current tree branch):
Code: Select all
text folderreport("tree:{name} ({size kbr}, {count} items)", "r", "", "r");
Re: Folder sizes
Posted: 17 Dec 2024 22:13
by oblivion
Thanks!
That's going to be extremely useful

Re: Folder sizes
Posted: 24 Dec 2024 07:44
by sparks
Wow, what an incredible useful script for me to get a quick overview of old backup drives holding collections of pics, books, and God knows what, and printout if needed w/o files in the way. Are there collections of these 'Hot Tips' aids organized anywhere? I just stumbled upon this thing in 'Wishes', without even knowing what to wish for, lol. Don't need a reply, I'm just amazed as I stumble around. Sorta like playing with a Swiss Army Knife for the first time. Very clever program...
Re: Folder sizes
Posted: 25 Dec 2024 18:19
by admin
As a rule of thumb: XYplorer can do anything you want, you just have to find out how or ask in the forum.
Re: Folder sizes
Posted: 25 Dec 2024 22:52
by PeterH
Rule of thumb:

Re: Folder sizes
Posted: 27 Dec 2024 01:31
by kiwichick
admin wrote: ↑17 Dec 2024 16:58
I see. This script should do (for the current tree branch):
Code: Select all
text folderreport("tree:{name} ({size kbr}, {count} items)", "r", "", "r");
That is an awesome script, Don. One of those 'never knew I needed it until I had it' scripts. Thanks!!