beremiz
Clone
Summary
Browse
Changes
Graph
merged rename_on_location_change branch
2019-04-04, Edouard Tisserant
c08bbfe7bbd4
file is
Executable
merged rename_on_location_change branch
#!/bin/bash
INKSCAPE=inkscape
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt icons.svg ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
"$INKSCAPE" icons.svg -z -e $i.png -i $i
fi
done