images/smilies/convert.sh
author Dan
Tue, 01 Apr 2008 01:24:10 -0400
changeset 515 be77f34d03af
parent 0 902822492a68
permissions -rw-r--r--
Fixed bad URL interpretation on CGI and Apache wrongly supplying PATH_INFO when directory index requested

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