Change permissions of matching files recursively
Replace *.xml
with your pattern. This will remove executable bit from all
files matching the pattern. Change +
to -
to add executable bit.
find . -type f -name "*.xml" -exec chmod -x {} +
Home
Replace *.xml
with your pattern. This will remove executable bit from all
files matching the pattern. Change +
to -
to add executable bit.
find . -type f -name "*.xml" -exec chmod -x {} +
Other notes