Daniel Barrett <[email protected]> writes:

> 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:

New line characters in particular. -I changes matters to line at a time
so other space characters should be okay, right?

-- 
Mike Small
[email protected]
_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to