images/smilies/convert.sh
author Dan
Sun, 19 Aug 2007 15:53:56 -0400
changeset 96 0b53c89a7d11
parent 0 902822492a68
permissions -rw-r--r--
Fixed: when going beta 4 or earlier -> RC1 or later, default ACL rule for admins was not created, causing possibly confusing lockouts

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