By default xargs uses both spaces and newlines as item delimiters. The -d "\n" option tells xargs to use only newlines as delimiters, thus avoiding this problem in this context.
$ find ./ -name "*.c" | xargs -d "\n" rm

Reply via email to