lpcmanager
Clone
Summary
Browse
Changes
Graph
Update IEC60870 files to accommodate proper timestamps for data points
py2compat
3 weeks ago, Dino Kosic
656720f97e4d
file is
Executable
Update IEC60870 files to accommodate proper timestamps for data points
#!/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