title: changing chmod for files but not directories
body: <p>I need to use chmod to change all files recursivly to 664. I would like to skip the folders.
  I was thinking of doing something like this</p>
  
  <pre><code>ls -lR | grep ^-r | chmod 664
  </code></pre>
  
  <p>This doesn't work, I'm assuming because I can't pipe into chmod
  Anyone know of an easy way to do this?</p>
  
  <p>Thanks</p>