find and chmod only folders or files

If you want to change mode of files and folders to different value, here're the scripts:

Recursive chmod only files within this folder:

find . -type f -exec chmod 0600 {} \;

Recursive chmod only folders within this folder:

find . -type d -exec chmod 0755 {} \;

Maybe you can put these to a ...

more ...

Pages

  • About