To clean up a project I need to find all (sub)folders named
palette-library starting from the current location of a batch script file and then delete all its contents except for a folder called
penstyle-opacity textures and a file called
penstyle-opacity.plt. I use Windows 7.
I Googled a lot but so far I only found snippets that can either search, find and delete all the contents of a folder or delete all except the specific file from a pre-defined location. However, I can't manage to put the two together.