On Mon, Oct 18, 2004 at 08:32:21PM +0200, Chris Karakas wrote: > #! /bin/sh > > for x in `ls *.$1`; do
This should be for x in *.$1 Especially for people advocating the support of Windows formats. After all, these are the guys most likely to run into file names with spaces. > y=`basename $x .$1` basename "$x" .$1 > convert $y.$1 $y.png "$y" Andre'