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 {} \;
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow