There are 2000 folders containing txt and images of different quantities and formats with numbering, for example:
folder A
folder A contains 2006 images with numbers at the end of the name from 1 to 2006 and two text documents with information about the folder.
folder B contains 2 images with numbers at the end of the name from 1 to 2 and two text documents with information about the folder.
How can I remove any names and special characters from all images while preserving the image numbers and not touching the names of text information files or the folder name?
help plz