diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-01-28 16:32:01 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-01-28 16:32:01 +0100 |
commit | 09c0ef13c4c241ddf112f92344006ecc923679ed (patch) | |
tree | 2d8cc8a555c70b950df60845d925af75e75914f9 | |
parent | de141bcdd028ed58e6083c5641b1dea2d6d8eeee (diff) | |
download | bin-09c0ef13c4c241ddf112f92344006ecc923679ed.tar.gz bin-09c0ef13c4c241ddf112f92344006ecc923679ed.tar.xz |
svg2pdf: Handle multiple files
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | svg2pdf | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,6 @@ #!/bin/bash -b=${1%.svg} - -inkscape "$b.svg" -A "$b.pdf" --export-area-drawing --export-dpi=600 +for img in "$@"; do + b=${img%.svg} + inkscape "$b.svg" -A "$b.pdf" --export-area-drawing --export-dpi=600 +done |