On Mon, Oct 08, 2001 at 09:17:00PM -0400, Taz wrote: > for i in *.bmp > do > echo "converting " $i " to .jpg format" > convert $i $i.jpg > done Change the convert line to: convert $i `basename $i bmp`jpg Note the direction of the single quotes.