images/smilies/convert.sh
author Dan
Fri, 07 Mar 2008 00:19:21 -0500
changeset 491 dd0f079e3c52
parent 0 902822492a68
permissions -rw-r--r--
Aww crap. NOW it should be together.

#!/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