I noticed:
chmod -R a+x
adds execute permissions to all files, not just those who are currently executable.
Is there a way to add execute permissions only to those files who already have an execute set for the user permission?
Use find
:
find . -perm /u+x -execdir chmod a+x {} \;