xargs

Build and execute commands from stdin

← All commands

Common Examples

$ find . -name "*.tmp" | xargs rm
$ echo "a b c" | xargs -n1
$ cat urls.txt | xargs -P4 curl -O
$ ls | xargs -I{} echo "File: {}"