File diff ce7a97fbb528 → 69e323ad681a
optipng.sh
Show inline comments
 
#!/bin/bash
 

	
 
find ./$1 -type f -name "*.png" -print0 | xargs -0 -n1 -P0 optipng -quiet -o7
 
find ./$1 -type f -name "*.png" -print0 | xargs -0 -n1 -P$(($(lscpu -p | grep -v "#" | wc -l) * 2)) optipng -quiet -o7