chmod directories and files separately

If you are looking to chmod directories and files separately, the find command can be of great help. Take a look at these examples: For Directories: find . -type d -exec chmod -v 775 {} \; For Files: find . -type f -exec chmod -v 664 {} \;