CartMetrix - Do you know yours?

« Outlook Express Uses 100% CPU | Home | Bookmarklet For emailURL.com and anonURL.com »

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%

Trackback:

Related Posts

One Response to “Recursive Chmod Tricks”

  1. Outlook Express Mail Download said:

    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…

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It