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.