Can’t you simply delete all Jpegs after searching the hard drive?
Yeah, just do a search for .jpg or jpeg and then delete them. It’s easier to write a script, just double-click and it does the job for you.