Created
December 6, 2016 09:13
-
-
Save manuhabitela/5e53ca9ea86fab17e9e80dc6e5819d67 to your computer and use it in GitHub Desktop.
Batch svg manipulations with 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 | |
# convert all .ai files found in current folder to svg | |
for file in $(ls *.ai) | |
do | |
svg_file=$(echo "$file" | sed "s/.ai/.svg/") | |
inkscape --without-gui --file=$file --export-plain-svg=$svg_file | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment