Change permissions on folders/files only
published on January 11, 2011.
Heads-up! You're reading an old post and the information in it is quite probably outdated.
This is just a quick reminder for myself. Should really remember this one. Changes permissions on folders|files only.
$ find /path/to -type d -exec chmod 775 {} \;
$ find /path/to -type f -exec chmod 664 {} \;