how to convert jpeg to jpg linux code example
Example 1: command to create jpeg in linux
$ sudo apt-get install imagemagick
Example 2: command to create jpeg in linux
#!/bin/bash
for file in `ls *.png`
do
newfile=`echo $file | sed 's/png/jpg/'`
convert $file $newfile
done