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