In the cmd-find and cmd-grep lesson you already saw the idiom
find ... -print0 | xargs -0 grep. Here are three xargs features
that make a pipeline fast and predictable:
-I {}: substitute the file name in the middle of the command-n N: split the input into batches of N arguments-P N: run batches in parallel
Ready-made parallelism, no bash functions and no GNU parallel. An overview of both tools is in xargs-and-find-exec.