Skip to content

Instantly share code, notes, and snippets.

@ChadDevOps
Created July 10, 2021 01:54
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 ChadDevOps/63c5b9b6069963a668d3dc0a59a54d80 to your computer and use it in GitHub Desktop.
Save ChadDevOps/63c5b9b6069963a668d3dc0a59a54d80 to your computer and use it in GitHub Desktop.
svgtopng bash alias using inkscape under windows wsl
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