linuxmint/mint-themes — pull request #3 by gauravjuvekar (2012-10-31 07:31:48+00:00)
Title: Optimizing svg files

@clem
Contrary to what I said about doing it all manually, I am using a semi-automated method.
I am opening files in inkscape, checking to see if there are any hidden elements, then using this script to partially optimize and doing the rest by hand.
```bash
mkdir ./inkscape
for i in *.svg
do
inkscape -z --vacuum-defs --export-plain-svg=./inkscape/$i $i
done
echo Inkscape done
mkdir scour
cd ./inkscape
for j in *.svg
do
scour -i $j -o ../scour/$j --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata --quiet
done
````

Please check if the files aren't causing any problems.