On May 19, 2010, at 15:10, Brown, Beverly wrote: > One question - could this have anything to do with filenames that have > spaces in them? I'm searching my tree now trying to find an inaccessible > path using > > find . -type f |xargs sum > /dev/null > > It's showing a filename in a .svn/text-base as "No such file or > directory" > > sum: ./path/.svn/text-base/filename: No such file or directory > sum: with: No such file or directory > sum: spaces: No such file or directory > sum: in: No such file or directory > sum: it.pdf.svn-base: No such file or directory
That's because find and xargs won't work with files with spaces in their names unless you tell them to use something other than the space as their default delimiter, for example the null character: find . -type f -print0 | xargs -0 sum > /dev/null