Created
July 10, 2021 01:54
-
-
Save ChadDevOps/63c5b9b6069963a668d3dc0a59a54d80 to your computer and use it in GitHub Desktop.
svgtopng bash alias using inkscape under windows wsl
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
alias svgtopng="IFS=\$'\n'; set -f; for file in \$(find -name "*.svg"); do _INKSCAPE_GC=disable inkscape \"$file\" -e \"${file%svg}png\"; done; unset IFS; set +f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment