aboutsummaryrefslogtreecommitdiff
path: root/content/notes/mass-set-permission.md
blob: 20a4fab92ee428e523215a83879a68ab19f73d3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
title: Change permissions of matching files recursively
url: mass-set-permission.html
date: 2023-05-16
type: notes
draft: false
---

Replace `*.xml` with your pattern. This will remove executable bit from all
files matching the pattern. Change `+` to `-` to add executable bit.

```sh
find . -type f -name "*.xml" -exec chmod -x {} +
```