To recursively chmod all directories 755 you can use this command.
|
1 |
find .(/dir) -type d -exec chmod 755 {} \; |
Obviously you need to replace the 755 with the permissions you need.
To chmod all files or folders by name, use the below command.
|
1 |
find .(/dir) -name filename -exec chmod 755 {} \; |
Just replace filename with the name you are searching for and the 755 with the permissions you need.
Related posts:
- Reduce the Microsoft Windows 7 WinSxS Folder’s Size You can reduce the Microsoft Windows 7 WinSxS folder’s size...
- managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found Oh gosh, someone finally posted the correct information to fix...
- phpMyAdmin, MySQL: The configuration file now needs a secret passphrase (blowfish_secret). This error occurs sometimes because computers are shit and everyone...

0 Comments.