blob: 654d9d1dfed51eac8c110fae7fd4bd4337877e3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
title: Change permissions of matching files recursively
permalink: /mass-set-permission.html
date: 2023-05-16T12:00:00+02:00
layout: post
type: note
draft: false
tags: [linux]
---
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 {} +
```
|