exit 0 #don't work, name of files are wrong! for i in *jpg; do convert $i $i.eps done for i in *eps; do epstopdf $i done