1 #!/bin/sh
2 # Converts all TIFF images to *.glcd
3
4 old=tif
5 new=glcd
6
7 for file in ./*."$old"; do
8 convpic -i "$file" -o "`basename \"$file\" \"$old\"`$new"
9 done
10