Switch around syntax of scour command for SVG image optimization
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
b35db6c784
commit
1799d0fd11
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ jpegoptim --strip-all *.jpg;
|
||||||
for svg in `ls *.svg`;
|
for svg in `ls *.svg`;
|
||||||
do
|
do
|
||||||
mv $svg $svg.opttmp;
|
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;
|
done;
|
||||||
rm *.opttmp
|
rm *.opttmp
|
||||||
for dir in `ls -d */`;
|
for dir in `ls -d */`;
|
||||||
|
|
Loading…
Reference in a new issue