title: How to locate files in a filesystem that are php files and chmod them to 655 in shell
body: <p>I was told this would help me chmod directories:</p>
  
  <p>find . -type 'd' -exec chmod 755 {} \;</p>
  
  <p>that worked.</p>
  
  <p>But how can I find php files and chmod them to 644 recursively?</p>
  
  <p>is there a similar command to do that? just files ending in .php?</p>
  
  <p>Thanks</p>