Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (6 sloc) 160 Bytes
for i in `ls *.png`
do
echo "Converting $i to JPG..."
new_file=`echo "$i" | awk '{gsub(/\.png/,".jpg")}; 1'`
convert $i -quality 100 $new_file
done