Skip to content

Instantly share code, notes, and snippets.

@lisaah
Created January 25, 2014 18:15
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save lisaah/8620934 to your computer and use it in GitHub Desktop.
Save lisaah/8620934 to your computer and use it in GitHub Desktop.
Simple shell script to convert all .svg in directory to .pdf
# Dependency:
# sudo apt-get install librsvg2-bin
find . -type f -name "*.svg" -exec bash -c 'rsvg-convert -f pdf -o $0.pdf $0' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment