From 3c47d3d5265153622cd762196a4182a3523b5ebe Mon Sep 17 00:00:00 2001 From: nojhan Date: Sun, 31 Aug 2014 21:17:42 +0200 Subject: [PATCH] More cleaner verbose log --- export.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/export.sh b/export.sh index 11d7a68..02b3360 100755 --- a/export.sh +++ b/export.sh @@ -5,13 +5,17 @@ for svg in `find $1 -name *.svg` ; do # the complete filename without the extension base=`echo $svg | sed s/.svg//` - + # export each 4 cards for i in `seq 4` ; do - inkscape --export-png=${base}_card_$i.png --without-gui --export-id=card_$i --export-height=800 $svg + echo "===== ${base}_card_$i =====" + time inkscape --export-png=${base}_card_$i.png --without-gui --export-id=card_$i --export-height=800 $svg + echo "===== DONE =====" done # export the whole page - inkscape --export-png=$base.png --export-area-page --export-width=1024 --without-gui $svg + echo "===== ${base} =====" + time inkscape --export-png=$base.png --export-area-page --export-width=1024 --without-gui $svg + echo "===== DONE =====" done