-0, --null
Items are separated by a NUL, not whitespace; disables quote and backslash processing and logical EOF processing.
An option of xargsx.
Usage
xargsx -0 [COMMAND [INITIAL-ARGUMENT]...]
xargsx --null [COMMAND [INITIAL-ARGUMENT]...]Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-0 | --null | none | items are separated by a NUL, not whitespace; disables quote and backslash processing and logical EOF processing |
Examples
Remove the files a search found, whatever characters their names hold
findx . -name '*.tmp' -print0 | xargsx -0 rmx -fDo nothing at all when the search finds no file
findx . -name '*.orig' -print0 | xargsx -0 -r rmxChecksum many files four commands at a time
findx . -type f -print0 | xargsx -0 -n 50 -P 4 sha256sumxHelp in the terminal
gnux help xargsx --null