mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-01 11:35:30 +02:00
15 lines
265 B
Markdown
15 lines
265 B
Markdown
# xargs
|
|
|
|
> Execute a command with piped arguments.
|
|
|
|
- Main use:
|
|
|
|
`{{arguments}} | xargs {{command}}`
|
|
|
|
- Handle whitespace in arguments:
|
|
|
|
`{{arguments_null_terminated}} | xargs -0 {{command}}`
|
|
|
|
- Delete all files that start with 'M':
|
|
|
|
`find . -name 'M*' | xargs rm`
|