-
-
Save MikeiLL/132acf2f6ccc8463a259188c98b1cb30 to your computer and use it in GitHub Desktop.
Simple shell script to convert all .svg in directory to .pdf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dependency: | |
# sudo apt-get install librsvg2-bin | |
# or brew install librsvg | |
find . -type f -name "*.svg" -exec bash -c 'rsvg-convert -h 800 "$0" > "$0".png' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment