Basically I got an email from my hosting company stating that even though they allow unlimited disk space, you're not allowed to have over 50,000 files. Which is a pretty low number.
I currently have 51,000 images in my images directory and I was wondering if there is a shortcut way to delete some of them, instead of manually deleting thousands.
Basically I have around 2 product images for each product.
XXXXX_pid.jpg and XXXXX_pidt.jpg
(XXXXX refers to various numbers and letters and XXXX_pidt.jpg is a thumbnail)
I was wondering if there would be some kind of command/program that could find all of the XXXX_pidt.jpg's and delete them for me?
Or am I SOL?




