/ Published in: Bash
URL: http://movabletripe.com/archive/recursively-chmod-directories-only/
This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only.
find . -type d -exec chmod 755 {} \;
Similarly, the following will chmod all files only (and ignore the directories):
find . -type f -exec chmod 644 {} \;
Expand |
Embed | Plain Text
// This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only. find . -type d -exec chmod 755 {} \; // Similarly, the following will chmod all files only (and ignore the directories): find . -type f -exec chmod 644 {} \;
Comments
Subscribe to comments
You need to login to post a comment.

Those who still linger on the entrance of life,cheap wow gold hesitating to choose buy wow gold
remember that when years are passed and your feet stumble on the dark mountains,tiffany you will cry bitterly, but in vain: "O
youth,wow buy gold return!cheapest wow gold Oh give me back my early days!"yy2010.4.7