From 92796bbbf4e16fafcfc2f9bfc3c77354d29ea212 Mon Sep 17 00:00:00 2001 From: "Jiri (George) Lebl" Date: Thu, 11 Oct 2018 12:40:23 -0500 Subject: [PATCH] Add optimize-svg.sh script (lost it for some reason before) --- figures/optimize-svgs.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 figures/optimize-svgs.sh diff --git a/figures/optimize-svgs.sh b/figures/optimize-svgs.sh new file mode 100755 index 0000000..4d32381 --- /dev/null +++ b/figures/optimize-svgs.sh @@ -0,0 +1,7 @@ +#!/bin/zsh + +echo OPTIMIZING SVG... +for n in *.svg ; do + echo svgo --disable=convertPathData --multipass $n + svgo --disable=convertPathData --multipass $n +done