Skip to content

Instantly share code, notes, and snippets.

@mostafabahri
Last active April 10, 2022 17:34
Show Gist options
  • Save mostafabahri/e8b72b0709908c2c66af2c7033f38fc2 to your computer and use it in GitHub Desktop.
Save mostafabahri/e8b72b0709908c2c66af2c7033f38fc2 to your computer and use it in GitHub Desktop.
Convert svg to png bash script
for file in *.svg
do
name=$(basename $file .svg)
svgexport $name.svg $name.png 300:300 80%
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment