Switch around syntax of scour command for SVG image optimization

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2019-01-08 17:03:33 +01:00
parent b35db6c784
commit 1799d0fd11
No known key found for this signature in database
GPG key ID: CBD846FC845CBE17

View file

@ -7,7 +7,7 @@ jpegoptim --strip-all *.jpg;
for svg in `ls *.svg`;
do
mv $svg $svg.opttmp;
scour -i $svg.opttmp -o $svg --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata --strip-xml-prolog --no-line-breaks;
scour --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata --strip-xml-prolog --no-line-breaks -i $svg.opttmp -o $svg;
done;
rm *.opttmp
for dir in `ls -d */`;