Fixed sanitization of full page IDs with accidental parse of escaped hex character in dirtify_page_id(). Thanks Asterion; see http://forum.enanocms.org/post/20/
#!/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