images/smilies/convert.sh
author Dan
Sat, 01 Mar 2008 18:57:07 -0500
changeset 468 194a19711346
parent 0 902822492a68
permissions -rw-r--r--
Fixed the fact that cron just didn't work at all (brain fart that day or something)

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