I'm trying to convert several hundred specifically named .jp2 files in a directory to .jpg files using ImageMagick from the terminal.
For example, I want A.jp2, B.jp2, C.jp2 to become A.jpg, B.jpg, C.jpg.
I tried the following command:
convert *.jp2 *.jpg
However, this gave me the following files:
How can I keep the names of the original files when I convert them?
Use the "mogrify" command
mogrify -format jpg *.jp2