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.
    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.
    1 + 4 =
    Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.