nopenpilot/selfdrive/assets/strip-svg-metadata.sh

10 lines
202 B
Bash
Raw Normal View History

2021-09-30 15:00:52 -06:00
#!/bin/bash
# sudo apt install scour
for svg in $(find icons/ -type f | grep svg$); do
# scour doesn't support overwriting input file
scour $svg --remove-metadata $svg.tmp
mv $svg.tmp $svg
done