18 Apr 2009, 00:00

linux chmod files or directory only recursively

From the command line:

-bash-3.00$ find ./ -type f -exec chmod 600 {} \;
-bash-3.00$ find ./ -type d -exec chmod 700 {} \;