aboutsummaryrefslogtreecommitdiff
path: root/content/notes/mass-set-permission.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-05-24 05:57:50 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-05-24 05:57:50 +0200
commitb3dfbe8b70b870399dc335b8dcf028bb9a3955de (patch)
treecd9b9aaa0445d4641356227866827f2d828a1517 /content/notes/mass-set-permission.md
parent660cebf99b4317856401acda8238bff75f82c4cc (diff)
downloadmitjafelicijan.com-b3dfbe8b70b870399dc335b8dcf028bb9a3955de.tar.gz
Added notes as a separate type of content and moved the content
Diffstat (limited to 'content/notes/mass-set-permission.md')
-rw-r--r--content/notes/mass-set-permission.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/content/notes/mass-set-permission.md b/content/notes/mass-set-permission.md
new file mode 100644
index 0000000..20a4fab
--- /dev/null
+++ b/content/notes/mass-set-permission.md
@@ -0,0 +1,14 @@
1---
2title: Change permissions of matching files recursively
3url: mass-set-permission.html
4date: 2023-05-16
5type: notes
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```