#!/bin/bash

APP="inkscape"

# create  dir

mkdir inkscape
mkdir inkscape_big

for i in *.svg; do NAME_NO_EXT=${i%.svg}; $APP --export-width=160 --export-height=120 $i --export-png=$NAME_NO_EXT.png; echo $NAME_NO_EXT; done

mv *.png inkscape

for i in *.svg; do NAME_NO_EXT=${i%.svg}; $APP --export-width=480 --export-height=360 $i --export-png=$NAME_NO_EXT.png; echo $NAME_NO_EXT; done

mv *.png inkscape_big
