diff --git a/pages/common/xargs.md b/pages/common/xargs.md index d3a1f8466b..8c37c926c0 100644 --- a/pages/common/xargs.md +++ b/pages/common/xargs.md @@ -14,3 +14,7 @@ - Execute the command once for each input line, replacing any occurrences of the placeholder (here marked as `_`) with the input line: `{{arguments_source}} | xargs -I _ {{command}} _ {{optional_extra_arguments}}` + +- Parallel runs of up to `max-procs` processes at a time; the default is 1. If `max-procs` is 0, xargs will run as many processes as possible at a time: + +`{{arguments_source}} | xargs -P {{max-procs}} {{command}}`