Recursively chmod directories only
Submitted by loner on 23 December, 2007 - 10:24pm
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 {} \;
What did I say then?
Tsang wins on policy but Leong excels at debate | SCMP (4 years 47 weeks ago):
Donald Tsang Yam-kuen outshone Alan Leong Kah-kit on public policy issues, while losing out to hi...
