To change all permission to 640 for files only, go to the directory which you want to change all the files permission within it.
Then type in the following command on your shell console:
find * -type f -exec chmod 640 {} \;
To change all permission to 640 for files only, go to the directory which you want to change all the files permission within it.
Then type in the following command on your shell console:
find * -type f -exec chmod 640 {} \;
To change all permission to 755 for folders only, type in the following command on your shell console:
find /path/to/folder -type d -exec chmod 755 {} \;