batch rename extension
I used automator to rename some .jpg and .png files that had a really long file name created by Gallery Bank back to the original shorter name. But for some strange reason the .jpg and .png exentsions ended with a ?. So its .jpg? and .png?. I can manually get rid for the ? but I can't batch get rid of it. If I try to do it through finder, I get a message that I can't use the filename because of invalid character and if I try to use the "mv *.jpg? *.jpg" or "mv *.jpg* *.jpg" all I get the is the help screen showing the options for the mv command. I would love to batch correct these files because I have a ton of them and don't want to spend time manually changing them if I can find a way automate the process.
MacBook Pro 13", macOS 10.14