title: find -print0 -name "* *" (whitespace)
body: <p>Is there a way to pass all filenames containing whitespace to the pipe, or at least those containing spaces? To that end I attempted:</p>
  
  <pre><code>~/Desktop&gt; find . -type f -mindepth 1 -maxdepth 1  -name "* *" | wc -c
         0
  ~/Desktop&gt; find . -type f -mindepth 1 -maxdepth 1 -print0  -name "* *" | wc -c
       247
  ~/Desktop&gt; 
  </code></pre>
  
  <p>As you see, the command without -print0 accurately finds no files containing whitespace in the current directory. But with -print0 added, the -name option apparently is not interpreted as I would expect.</p>
  
  <p>Even better than </p>
  
  <pre><code>-name "* *"
  </code></pre>
  
  <p>would be some way to specify any whitespace, not just space. Ideally this could be done in find, rather than resorting to "downstream" processing using a perl regular expression.
  Ultimately, I want to pipe the filenames to a script that will replace whitespace by some character I specify. </p>