#!/bin/bash for img in "$@"; do b=${img%.svg} inkscape "$b.svg" -A "$b.pdf" --export-area-drawing --export-dpi=600 done