File/Dir Permission change in bulk
Posted by danielJul 27
Tips on changing file permissions in bulk.
First command – changes all directories under the current directory to 700 file mode.
1 | find . - type d - exec chmod 0700 {} \; |
Second command – changes all files under the current directory to 600 mode.
1 | find . - type f - exec chmod 0600 {} \; |
No comments
You must be logged in to post a comment.