Batch convert PNG images to JPG
September 22, 2022This requires imagemagick to be installed on the machine. Open up a terminal, cd
into the folder with the PNG files and run:
ls -1 *.png | xargs -n 1 bash -c 'convert "$0" "${0%.*}.jpg"'
This requires imagemagick to be installed on the machine. Open up a terminal, cd
into the folder with the PNG files and run:
ls -1 *.png | xargs -n 1 bash -c 'convert "$0" "${0%.*}.jpg"'