Recursively chmod directories only
November 3, 2007 | In Linux, WebTechnology | No CommentsRecursively 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.
Powered by WordPress
RSS Feed - Syndicate this Site
and comments feed



