Skip to content

Instantly share code, notes, and snippets.

View liuzhuan's full-sized avatar

codeman liuzhuan

View GitHub Profile
@liuzhuan
liuzhuan / run.sh
Last active March 23, 2021 15:51
Compress png inside svg, in python v3. Based on https://gist.github.com/flesser/3f9c80ff42879cad41bf
#!/bin/sh
# This is used to process multiple svg files
cp -r svg-original svg-compressed
cd svg-compressed
files=$(ls *.svg)
for file in $files
do