TopAngler
TopAngler

Reputation: 109

How to Recursively Change all FILE Permissions without Changing DIRECTORY (and subdirectoruy) Permissions?

How do I change the file permissions of all files in a directory (and subdirectories) without changing any directory or subdirectory permissions?

Upvotes: 1

Views: 1151

Answers (1)

Amit
Amit

Reputation: 20506

An example using find:

find /path/to/dir/ -type f | xargs chmod 755

Upvotes: 1

Related Questions