images/smilies/convert.sh
author Dan
Thu, 31 Jan 2008 21:52:39 -0500
changeset 454 7b984f924dcd
parent 0 902822492a68
permissions -rw-r--r--
Fixed special pages being returned with subpage information inappropriately from $paths->get_pageid_from_url()

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