On April 27, 2016, Rich Pieri wrote:
>find . -name "*.png" -print | xargs -I{} -P 4 optipng -o1 -preserve {}
Nice trick. I'd recommend using "find -print0" and "xargs -0" for
safety, in case any of your PNG filenames contain space characters:
find . -name "*.png" -print0 | xargs -0 -I{} -P 4 optipng -o1 -preserve {}
--
Dan Barrett
[email protected]
_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss
