By Alvin Alexander. Last updated: January 2, 2024
If you’re (a) on a Mac and (b) have ImageMagick installed and (c) need to convert one or more HEIC files in a directory to JPG files, this command will do the trick:
mogrify -format jpg *heic
I don’t remember if that deletes all the HEIC files, so make sure you back those up before you run this command. I assume you can also use this command to convert the files to PNG, GIF, or other formats, but I’ve only tried converting HEIC files to JPG files so far.