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
ls -lR | grep ^-r |
with GNU find
find /path -type f -exec chmod 644 {} +;