images/smilies/convert.sh
author Dan
Wed, 10 Sep 2008 06:57:54 -0400
changeset 306 7a7173c0f62f
parent 0 902822492a68
permissions -rw-r--r--
Fixed SQL parse errors caused by conversion to \r\n by some FTP/zip clients (hackish workaround that isn't Enano's fault)

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