How to recursively remove executable (x) bit from files
This simple shell script will remove the executable bit (chmod -x
) from files (but not directories) recursively:
find . -type f -exec chmod -x {} \;
This simple shell script will remove the executable bit (chmod -x
) from files (but not directories) recursively:
find . -type f -exec chmod -x {} \;