For extra coolness, especially when processing files with whitespace, I have trained my muscle memory to use: find ... -print0 | xargs -0 ...
replacing the whitespace separator with ASCII NUL.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Every time I successfully use
xargsI spend the next several hours thinking "whoa, I did anxargs". It somehow never gets old.Solid
xargs, good stuff.Ha, nice :)
For extra coolness, especially when processing files with whitespace, I have trained my muscle memory to use:
find ... -print0 | xargs -0 ...replacing the whitespace separator with ASCII NUL.