images/smilies/convert.sh
author Dan
Tue, 19 Aug 2008 20:57:17 -0400
changeset 697 8e9ba8b131fa
parent 0 902822492a68
permissions -rw-r--r--
Made upgrades from 1.1.4 -> 1.1.5 work if keyhash is not present

#!/bin/bash
for f in *.svg; do
    echo Converting $f
    fname=`echo $f | cut -d '.' -f 1`
    rm -f $fname.png
    inkscape -z -f $f -w 22 -h 22 -e ./$fname.png
done