Reputation: 109
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
Reputation: 20506
An example using find:
find
find /path/to/dir/ -type f | xargs chmod 755