images/smilies/convert.sh
author Dan
Sun, 21 Dec 2008 04:24:52 -0500
changeset 769 1946d845bb25
parent 0 902822492a68
permissions -rw-r--r--
Fixed: update_plugins_cache() is now tolerant of write errors

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