#!/bin/bash #Getestet mit inkscape --version #Inkscape 1.2.2 (732a01da63, 2022-12-09) sed "s/123456789/"$1"/g" flaschenring_template.svg > flaschenring_$1_temp.svg sleep 3 inkscape --export-text-to-path -o flaschenring_$1_temp2.svg flaschenring_$1_temp.svg sleep 3 inkscape --batch-process --actions="select-by-id:textbasepath;delete" -o flaschenring_$1.svg --with-gui flaschenring_$1_temp2.svg sleep 3 rm flaschenring_$1_temp.svg rm flaschenring_$1_temp2.svg