find /path/to/base/dir -type d -print0 | xargs -0 chmod 755 find /path/to/base/dir -type f -print0 | xargs -0 chmod 755 these guys rock http://superuser.com/questions/91935/how-to-chmod-755-all-directories-but-no-file-recursively
Tag Archives: command line
Getting rid of files from the command line
Dreamweaver’s check in and check out functionality can be quite useful when working with more than one person on a site but it creates heaps of .LCK files. If you want to remove them from the command line go to the top level directory and type this: find . -type f -name “*.LCK” -exec rm
Continue reading: Getting rid of files from the command line