Skip to content

Instantly share code, notes, and snippets.

@lisaah
Created January 25, 2014 18:15
Show Gist options
  • 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