Changeset - af8d89e40b79
[Not reviewed]
default
0 1 0
Dennis Fink - 5 years ago 2019-03-24 20:30:43
dennis.fink@c3l.lu
Parallelize optipng
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
optipng.sh
Show inline comments
 
#!/bin/bash
 

	
 
for i in $(find ./ -type f -name "*.png"); do
 
    optipng -o7 "$i"
 
done
 
find ./$1 -type f -name "*.png" -print0 | xargs -0 -n1 -P0 optipng -quiet -o7
0 comments (0 inline, 0 general)