diff options
Diffstat (limited to '_posts/notes/2023-05-16-mass-set-permission.md')
| -rw-r--r-- | _posts/notes/2023-05-16-mass-set-permission.md | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/_posts/notes/2023-05-16-mass-set-permission.md b/_posts/notes/2023-05-16-mass-set-permission.md deleted file mode 100644 index 654d9d1..0000000 --- a/_posts/notes/2023-05-16-mass-set-permission.md +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | --- | ||
| 2 | title: Change permissions of matching files recursively | ||
| 3 | permalink: /mass-set-permission.html | ||
| 4 | date: 2023-05-16T12:00:00+02:00 | ||
| 5 | layout: post | ||
| 6 | type: note | ||
| 7 | draft: false | ||
| 8 | tags: [linux] | ||
| 9 | --- | ||
| 10 | |||
| 11 | Replace `*.xml` with your pattern. This will remove executable bit from all | ||
| 12 | files matching the pattern. Change `+` to `-` to add executable bit. | ||
| 13 | |||
| 14 | ```sh | ||
| 15 | find . -type f -name "*.xml" -exec chmod -x {} + | ||
| 16 | ``` | ||
| 17 | |||
