
xargs
List of commands for xargs:
-
xargs:tldr:43baf xargs: Run multiple chained commands on the input data.$ ${arguments_source} | xargs sh -c "${command1} && ${command2} | ${command3}"try on your machineexplain this command
-
xargs:tldr:555bd xargs: 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}try on your machineexplain this command
-
xargs:tldr:67693 xargs: Delete all files with a `.backup` extension (`-print0` uses a null character to split file names, and `-0` uses it as delimiter).$ find . -name ${'*-backup'} -print0 | xargs -0 rm -vtry on your machineexplain this command
-
xargs:tldr:c7d2f xargs: Run a command using the input data as arguments.$ ${arguments_source} | xargs ${command}try on your machineexplain this command
-
xargs:tldr:fea5c xargs: 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}try on your machineexplain this command