Linux/chmod


 * using chmod command to update all folders and sub-folders with 0700
 * using chmod command to update all files and files inside of sub-folders with 0600

find -type d -exec chmod 0700 {} \;
 * 1) folders

find -type f -exec chmod 0600 {} \;
 * 1) files

or chmod 0700 `find -type d`
 * 1) for directories

chmod 0600 `find -type f`
 * 1) for files