lpcmanager

MQTT SmartehCloud authentication and command support - WIP
py2compat
17 months ago, Edouard Tisserant
5ceee8f3e4d4
file isExecutable
MQTT SmartehCloud authentication and command support - WIP
#!/bin/sh
INKSCAPE=inkscape
for fname in `ls *.svg`; do
for i in `cat $fname |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt $fname ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" $fname -z -e $i.png -i $i
"$INKSCAPE" $fname -z -e $i.png -i $i
fi
done
done