images/smilies/convert.sh
author Dan
Sun, 09 Nov 2008 09:03:10 -0500
changeset 731 8e6dbf6882c2
parent 0 902822492a68
permissions -rw-r--r--
Added config option to grant userpage rights to new users (defaults to on, as it was hardcoded on before)

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