images/smilies/convert.sh
author Dan
Wed, 09 Jul 2008 21:04:10 -0400
changeset 619 80fa6fa6bf3a
parent 0 902822492a68
permissions -rw-r--r--
Oops, somehow changed mysql_query() to pg_query() in MySQL DBAL

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