Created
August 17, 2023 19:24
-
-
Save autocorr/625eb300a8b863b712b89fec2e1b3d33 to your computer and use it in GitHub Desktop.
Rotate a set of SVGs by 180 degrees using Inkscape.
This file contains 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
#!/bin/bash | |
for input_file in *.svg | |
do | |
stem="${input_file%%.*}" | |
outname="${stem}_r" | |
inkscape --actions "select-all;transform-rotate:180;export-filename:${outname}.svg;export-do" $input_file | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment