images/smilies/convert.sh
author Dan
Sun, 18 Jan 2009 18:10:48 -0500
changeset 324 6f030150b171
parent 0 902822492a68
permissions -rw-r--r--
Continuation of previous commit in admin CP; EditSidebar: updated strings to be more accurate (thanks again Vadi)

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