images/smilies/convert.sh
author Dan
Wed, 07 May 2008 14:05:31 -0400
changeset 547 0a2c1ce32d91
parent 0 902822492a68
permissions -rw-r--r--
Added ETag on TinyMCE gzip; changed ETag format for standard pages so as to include user and login info to control caching when logged in or out

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