Skip to content

Instantly share code, notes, and snippets.

@yoko
Created September 8, 2010 05:07
Show Gist options
  • Save yoko/569665 to your computer and use it in GitHub Desktop.
Save yoko/569665 to your computer and use it in GitHub Desktop.
for f in "$@"
do
python ~/apps/scour/scour.py -i "$f" -o "${f%.*}_.svgz" --enable-comment-stripping --enable-id-stripping --enable-viewboxing --indent=none --strip-xml-prolog --remove-metadata --shorten-ids --strip-xml-prolog
mv -f "${f%.*}_.svgz" "$f"
echo "$f"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment