Converting multiple JPG files to PNG

(Quite handy - and you can even go ahead to shrink the two commands to one).

for A in *.jpg; do convert $A $A.png; done
rename -v 's/\.jpg.png$/.png/' *.jpg.png

This, on GNU/Linux, with [:http://www.imagemagick.org/|imagemagick].

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.