6/27/2007
Recursive Chmod Tricks
Recursively chmod only directories
find . -type d -exec chmod 755 {} \;
Similarly, recursively set the execute bit on every directory
chmod -R a+X *
The +X flag sets the execute bit on directories only
Recursively chmod only files
find . -type f -exec chmod 644 {} \;
Recursively chmod only PHP files (with extension .php)
find . -type f -name ‘*.php’ -exec chmod 644 {} \;
Popularity: 32%



February 3rd, 2008 at 10:08 am
Are You Content With the Quality of Your Ezine? How to Send HTML-Formatted Emails in Outlook Express
How many times has this happened to you: you’ve been slaving over that email newsletter for hours, perfecting the tables, checking and rechecking the copy, tweaking image files. You’re finally ready to send, hooray! You take a deep breath, click… a…