Tools
xargs
Creates and executes commands from standard input.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-09-09
Syntax
$xargs [OPTIONEN] BEFEHL
Examples
$find . -name '*.txt' | xargs rm
$echo 'file1 file2' | xargs cp -t /tmp
Typical use cases
?
Standard usage
xargs --help
Note
For pipelines and batch operations.
Export