- install svgo script read https://github.com/svg/svgo
- install inkscape https://inkscape.org/fr/
- create 2 folders "input" and "output" with good permissions
- place all svg files inside the folder "input"
- run this script:
./crop-and-clean.sh
- get your new svg files inside the folder output
- run this script:
./clean-svg.sh <path to the svg file>