Linux recursive chmod only on sub-directories
chmod, linux
Solution
Off the top of my head:
find {folder} -type d -print0 | xargs -0 chmod 777
Problem
I'm on linux, and I have a directory with numerous sub-directories and items inside them. I want to run a recursive chmod on all directories and sub-directories but NONE of the files inside those directories. ``` chmod -R 777 {folder} ``` Is there a flag I can add to the chmod command to make the chmod only apply to sub-directories?