remove multiple files with whitespace
I would like to remove many files that contain white space in a directory
but when I use rm the arg list is too long, so I have to use the trick,
find . -name '* file.txt' | xargs rm
this does not work.
Just using find will find them but it does not seem to pass the correct names to remove, it complains about the space!
Any suggestions please?
Many thanks
|