On 05 Jun 2003 20:59:11 -0700
Michael Noble <[EMAIL PROTECTED]> wrote:

> Greg,
> 
> chmod will not distinguish between files and directories.
> To do the changes you propose, you will want to use find and
> chmod together.
> 
> I will assume you are at the base of what you want to change.
> 
> To  change files:
> 
> find . -type f -exec chmod 644 {} \;
> 
> To change directories:
> 
> find . -type d -exec chmod 755 {} \;
> 
> These commands will start a the directory you are in and recusively 
> change all files and directories.
> 
> If you want to learn more about the -type, read the man page on find.
> 
> Mike
> 

Mike, I like your solution much better than mine!  Learn something new everyday.  :)

Joeb

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to