From 8435fb883f8c87ae0c56e547ee68683d89ea1d00 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Thu, 6 Jan 2022 20:40:05 +0100 Subject: [PATCH] Add script to automatically rescale SVG images - important to export them to PNGs --- scripts/resizeSvg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/resizeSvg.sh b/scripts/resizeSvg.sh index 605ee7e6f..87c70971c 100755 --- a/scripts/resizeSvg.sh +++ b/scripts/resizeSvg.sh @@ -8,7 +8,7 @@ resizeFile(){ FILE="$(basename "${1}")" echo "Path is $PTH, name is $FILE" svg-resizer -f -x 500 -y 500 -o /tmp/resized $1 - # mv "/tmp/resized/$FILE" "$PTH" + mv "/tmp/resized/$FILE" "$PTH" } export -f resizeFile