png2jpg/png2jpg.sh
2022-05-04 11:09:19 +05:30

6 lines
119 B
Bash

#!/bin/sh
for image in *.png; do
convert "$image" "${image%.png}.jpg"
echo "$image -> ${image%.png}.jpg"
done
exit 0