Deleting layers with a special suffix
Hi everybody,
I am a 3D Artist and working with Photoshop mainly to edit my renderings. Due to an update, I am now getting renderings with many different layers for the same thing, which I don't need. Unfortunately, I cannot switch them off in the renderer, so I either have to delete them by hand or what I thought would be very helpfull, if I could do it over a script or an action.
I was wondering if anyone of you has an idea, what would be the best way to do this. Let me just describe the process.
1.) I render a psd file which contains for example the following layers:
-flower
-flower_filter
-flower_alpha
-grass
-grass_filter
-grass_alpha
-sky
-sky_filter
-sky_alpha
background
The names and numbers of the layers can vary (although the group of 3 is always the same). I can name them any way I want. Only the background is a fixed name, which will always be the same.
I only need the layers "background" and the ones with the suffix "_alpha". So is there some way, to say, that all layers, except of "background" and "_alpha" will be deleted?
I would really appreciate any hints and help, as I am not 100% sure how to start.
Thanks a lot and have a nice evening
