graphlcd-base/tools/convpic/convall
author root@rika
Wed, 06 Feb 2008 17:32:55 +0000
changeset 4 df6a40031aa5
permissions -rwxr-xr-x
added graphlcd-base
root@4
     1
#!/bin/sh
root@4
     2
# Converts all images in current directory
root@4
     3
root@4
     4
old=$1
root@4
     5
new=$2
root@4
     6
root@4
     7
for file in ./*."$old"; do
root@4
     8
  convpic -i "$file" -o "`basename \"$file\" \"$old\"`$new"
root@4
     9
done
root@4
    10