title: Find separates filenames when they contain a space (Shell)
body: <p>So, my program is meant to cycle through a directory and its subdirectories, and when it finds a file that is larger than 100K, asks the user if they want to remove it.</p>
  
  <p>I am using find to cycle through the directories. This is my code: </p>
  
  <pre><code>for file in $(find /home/* -print0 | xargs -0)
  </code></pre>
  
  <p>I have also tried</p>
  
  <pre><code>for file in $(find /home/* -exec process)
  </code></pre>
  
  <p>Etc, etc. Pretty much everything on the first five pages of Google.</p>
  
  <p>Just to re-iterate, the problem is that find separates filenames with spaces in them. (i.e. "/home/Old data" would become "/home/Old" and "data" </p>
  
  <p>Anyway, are there any better alternatives that I could be using?</p>