I wanted to delete thousands of thumbnails mixed with original images using php. There were no easy solutions available in Windows without extra tools. (Dint want command solution either)
Here is the script i used to delete multiple files with names containing “word” in them.
Note: We need a php server to run this script.