linux change chmod recursively code example
Example 1: chmod recursive
-R, --recursive
chmod -R 755 /path/to/directory
Example 2: change permissions for specific file types linux
find . -name "*.sh" -exec chmod +x {} \;
-R, --recursive
chmod -R 755 /path/to/directory
find . -name "*.sh" -exec chmod +x {} \;