Skip to content

Instantly share code, notes, and snippets.

@gokhansolak
Created September 13, 2022 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gokhansolak/71fe4c0678f1bc3aa2f59ca5fb6b01e5 to your computer and use it in GitHub Desktop.
Save gokhansolak/71fe4c0678f1bc3aa2f59ca5fb6b01e5 to your computer and use it in GitHub Desktop.
Convert all svg files in the folder to eps files, using Inkscape
#!/usr/bin/env bash
# optionally clear all eps files
# rm *.eps
for f in *.svg
do
fname=${f##*/}
fprefix=${fname%.*}
echo $fprefix
inkscape -E ${fprefix}.eps $f
echo " ";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment