Filenames with spaces breaking your xargs pipeline?
find . -name "*.txt" -print0 | xargs -0 wc -l
-print0 ends each path with a null byte instead of a newline, and xargs -0 splits on that. Spaces and tabs in names are now harmless.commit 9b7e776
Pairing -print0 with xargs -0 or using find with -exec ... + is the only way to survive user-uploaded filenames that have spaces and quotes in them.