diff options
author | andreas 'randy' weinberger <vdr@smue.org> | 2010-02-21 19:58:27 +0100 |
---|---|---|
committer | andreas 'randy' weinberger <vdr@smue.org> | 2010-02-21 19:58:27 +0100 |
commit | 10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3 (patch) | |
tree | 60ad7c856565f03e145b2996d1bb5f9cd64c0532 /tools/convpic/convall | |
download | graphlcd-base-10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3.tar.gz graphlcd-base-10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3.tar.bz2 |
initial git upload, based on graphlcd-base-0.1.5
Diffstat (limited to 'tools/convpic/convall')
-rwxr-xr-x | tools/convpic/convall | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/convpic/convall b/tools/convpic/convall new file mode 100755 index 0000000..f0f0207 --- /dev/null +++ b/tools/convpic/convall @@ -0,0 +1,10 @@ +#!/bin/sh +# Converts all images in current directory + +old=$1 +new=$2 + +for file in ./*."$old"; do + convpic -i "$file" -o "`basename \"$file\" \"$old\"`$new" +done + |