images/smilies/convert.sh
author Dan
Wed, 14 Jan 2009 20:33:05 -0500
changeset 812 68060328e9c6
parent 0 902822492a68
permissions -rw-r--r--
Added CLI installer. Supports interactive, command-line, and internal-call installation. Fixed a few bugs related to anti-SQL injection parser and plugin installation.

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