Thanks for the quick feedback.
I removed {step; $match = "1"; break;} from line 229 and "unstep;" from line 236. Will report back via PM in case this didn't help.
Sorry for not being more precise - you are right, I did use "Delete & Rebuild Thumbnail Cache [current folder && subs]" and not "Build" when the problem occured.
klownboy wrote:
I'm surprised if you're looking for less user interaction that you wouldn't use the other options, "Refresh [folder and subs]" or "Delete and Rebuild [folder and subs]" instead.
I don't see how either of them would allow me to cache tree branches from scratch. Not to mention how to add another thumb size.
"Refresh" even tells me I should use "Build" instead. When I first generate a few thumbs to give it a base to work with, then run "Refresh (folder + subs)" again, it won't cover the subs unless I go into each one and create at least one thumb there first. Which - again - spoils the idea of having an easy (unsupervised) way to pre-create a cache for whole branches.
Creating all 3 thumb sizes via "Refresh" takes even more manual clicks to provide the script with enough material to work with.
"Delete and Rebuild [folder and subs]" deletes the other sizes I want to keep. When I run it on an empty cache, I get this error

- error3.png (11.69 KiB) Viewed 4575 times
klownboy wrote: I dislike having to add additional prompting though (i.e., more user interaction that's why the other options may be better for you).
A tweak or general setting or checkbox were fine with me. I never need the size option while the script is running. Don't know if other users make that decision based on subfolder names. To me those names are meaningless. In work on foreign drives, not knowing in advance how many (sometimes hundreds) of subs will surface, and not knowing their content, either. My main concern is getting deeply nested folders cached without tedious browsing.
klownboy wrote:
I'm not sure yet about the reporting of database file size changes. I'll probably just show that at the very end of all the subs no matter what option is selected instead of after each folder/sub. Any thoughts?
I fully agree. One single report at the end is better.
Thanks for your considerations
Stef