1---
2title: Change permissions of matching files recursively
3url: mass-set-permission.html
4date: 2023-05-16T12:00:00+02:00
5type: note
6draft: false
7---
8
9Replace `*.xml` with your pattern. This will remove executable bit from all
10files matching the pattern. Change `+` to `-` to add executable bit.
11
12```sh
13find . -type f -name "*.xml" -exec chmod -x {} +
14```
15