7

Run optipng png optimizer on several cores - optipng_multicore.sh

view full story
linux-howto

https://bbs.archlinux.org – So. It's a wrapper. I got bored when I have HEXA core on my server and I usually want to maximize (almost maximize) png optimization, but optipng as great tool it is - it lacks feature of running on multiple cores at the same time. So utilizing 1 of 6 of the cores in my case... led to this little implementation.This script runs many optipng processes in unison/parallel to archieve threading-like support for optipng.Secret lies within xargs.Note that for now this script goes trough all the possible combinations/trials. I'm planning to change that to user defined.It requires bash and x (HowTos)