images/smilies/convert.sh
author Dan
Sat, 04 Apr 2009 22:35:44 -0400
changeset 895 d6b095673a47
parent 0 902822492a68
permissions -rw-r--r--
Session: additional metadata passed back from auth plugins is passed through to client for optional further parsing

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