This is a direct screen snip of the method I use to remove texture information. I am not checking if textures are used or unused or whatever else. My approach is heavy handed and I probably should check and keep valid textures. However for our purposes we do not use textures nor do we want it, so this tool is just fine for our needs.
So to answer you my approach is simple and crude and likely of little use to you.