polecenie utworzenia JPEG w Linux
#!/bin/bash
for file in `ls *.png`
do
newfile=`echo $file | sed 's/png/jpg/'`
convert $file $newfile
done
Creepy Cormorant
#!/bin/bash
for file in `ls *.png`
do
newfile=`echo $file | sed 's/png/jpg/'`
convert $file $newfile
done
$ sudo apt-get install imagemagick