images/smilies/convert.sh
author Dan
Sun, 17 Aug 2008 08:38:15 -0400
changeset 303 4c2d4833a968
parent 0 902822492a68
permissions -rw-r--r--
Upgrade from 1.0.4 -> 1.0.5 now tolerates errors in user -> user_id transition in tags table

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