aboutsummaryrefslogtreecommitdiff
path: root/_posts/notes/2023-05-16-mass-set-permission.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-02-23 10:35:22 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-02-23 10:35:22 +0100
commit4abcce013c9ee3053badf2abda77190233066676 (patch)
tree450de7e8fed3c3c7501a9d2e2eb60a676bdfa09e /_posts/notes/2023-05-16-mass-set-permission.md
parentcdf50cb2e3051200c6ea0628c318d66220b7d1a1 (diff)
downloadmitjafelicijan.com-4abcce013c9ee3053badf2abda77190233066676.tar.gz
Testing thoughts page
Diffstat (limited to '_posts/notes/2023-05-16-mass-set-permission.md')
-rw-r--r--_posts/notes/2023-05-16-mass-set-permission.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/_posts/notes/2023-05-16-mass-set-permission.md b/_posts/notes/2023-05-16-mass-set-permission.md
new file mode 100644
index 0000000..654d9d1
--- /dev/null
+++ b/_posts/notes/2023-05-16-mass-set-permission.md
@@ -0,0 +1,17 @@
1---
2title: Change permissions of matching files recursively
3permalink: /mass-set-permission.html
4date: 2023-05-16T12:00:00+02:00
5layout: post
6type: note
7draft: false
8tags: [linux]
9---
10
11Replace `*.xml` with your pattern. This will remove executable bit from all
12files matching the pattern. Change `+` to `-` to add executable bit.
13
14```sh
15find . -type f -name "*.xml" -exec chmod -x {} +
16```
17