images/smilies/convert.sh
author Dan
Sat, 19 Jul 2008 21:14:26 -0400
changeset 648 082b7b47b859
parent 0 902822492a68
permissions -rw-r--r--
Fixed missing require() on search.php in Special:Autofill (damn, when is this going to end?)

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