Ravi Sir's Cards › AWS
xargs breaks on spaces?
This interview card answers: xargs breaks on spaces? It splits on blanks. Use NUL separators. Safe pipeline.
Read card text
What this card says
What it is
It splits on blanks.
Why it matters
Use NUL separators.
How / example
Safe pipeline.
find . -name '*.tmp' -print0 | xargs -0 rm