More cleaner verbose log
This commit is contained in:
parent
28a7b49eba
commit
3c47d3d526
1 changed files with 7 additions and 3 deletions
10
export.sh
10
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue