Ok, two things...
First, the "general idea" is excellent... could be an excellent tool cleanining Temps for Windows PCs targetting c:\windows\temp, c:\programdata\temp, c:\users\user\appdata\local\temp /roaming\temp ... windows update temp files and may be internet files after asking
Second, "it is too" risky for a Developer using tools like that... cleaning projects automatically (just my thought)
From the other hand is another "super-excellent" project by aeric
My idea is not to delete Windows system temp folders.
This idea came out when I was having my laptop keyboard spoilt last 2 weeks. I can't work.
I plan to backup my B4X projects and transfer to another backup laptop temporarily so I can continue to work.
I organized my B4X projects in C:\B4X\Development but the total file size is very big.
Transferring the unused files inside Objects folder seems stupid to me.
I have use the tool (WinDirStat) recommended by Erel
I tried to delete the Objects folder one by one.
I wish I am expert in Python scripting to automate such a boring task.
I feel frustrated by the time wasted in my life.
As a programmer, I think I should take a hard route only once and for all.
Yes, I can follow the lazy way. Do nothing. Just copy and paste the entire Development folder to my external harddisk using USB3 cable.
I know I have experienced before when the files copy operation failed in 95% completion and I don't want to take a risk.
I can blame Windows 11 or the USB cable, but there is no use.
I need to repeat the step again. Either delete all the copied files and copy again or just ignore the files that I didn't manage to copy.
I have to figure out which sub-folders are already copied, which are not. But how?
I don't know how many people have the same experience.
I have many projects having multiple copies of the same files. e.g bootstrap asset files inside www folder of web api server templates.
I feel stupid to see the same redundant files being copied again and again.
Deja vu? This has happened before and will happen again in the future.
I think the results of this tool will be very satisfying if first I see originally 50GB of project folders has now shrinked to like 5GB only.