images/smilies/convert.sh
author Dan
Wed, 29 Aug 2007 23:35:06 -0400
changeset 109 93ef7df77847
parent 0 902822492a68
permissions -rw-r--r--
Added a ton of new log points for administrator actions; restructured security log view and enabled pagination for security logs; string change in ajax.php for RDNS operation failure

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