Just a handy one for the IE6 png support: for i in `ls`; do x=`basename $i .png`; convert $i $x.gif; done