Skip to content

Instantly share code, notes, and snippets.

@saulodias
Created July 12, 2022 05:10
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saulodias/dfd2a22e6eb53cdb48a3ca2dd992519d to your computer and use it in GitHub Desktop.
Save saulodias/dfd2a22e6eb53cdb48a3ca2dd992519d to your computer and use it in GitHub Desktop.
Converts SVG files from stroke to path
mkdir -p _output
for i in *.svg
do
inkscape --actions="select-all;selection-ungroup;select-all;selection-ungroup;select-all;object-stroke-to-path;" --export-filename=- $i > _output/$i
echo "done with "$i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment