#!/bin/bash for i in $(find SVG -type f -not -name "Laurel_Wreath.svg"); do new_pdf_filename=$(echo $i | sed 's/svg/pdf/g' | sed 's/SVG/PDF/g') inkscape -f "$i" -A "$new_pdf_filename" -T --export-pdf-version=1.5 -C -d 1200 done