Bulk Deleting / Retaining Files

Have around 8000 jpg's in a folder, each one representing a product in my catalogue, of which around 4000 are sold or no longer available. I need to delete redundant images prior to uploading to expensive https webspace. I have the filenames of 'live' product stored in Excel, but not the files I want to delete. Is there a technique within the OS, or utilities software that would allow me to bulk delete unwanted / retain wanted images, given that I do have filnames of valid images stored? Any pointers would be greatly appreciated.

Discussion is locked
Reply to: Bulk Deleting / Retaining Files
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: Bulk Deleting / Retaining Files
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.

CNET Forums