Recursively chmod directories only
Recursively chmod directories only
June 19th, 2006
find . -type d -exec chmod 755 {} \;
This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only.
Similarly, the following will chmod all files only (and ignore the directories):
find . -type f -exec chmod 644 {} \;
source: http://movabletripe.com/archive/recursively-chmod-directories-only/ At this source, there is discussion and additional find commands from responders.
No Comments yet
Sorry, the comment form is closed at this time.
Powered by WordPress
RSS Feed - Syndicate this Site
and comments feed



