images/smilies/convert.sh
author Dan
Fri, 30 Nov 2007 22:16:26 -0500
changeset 245 c36c5034a800
parent 0 902822492a68
permissions -rw-r--r--
How could I forget the TRADEMARK SIGN?

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