On Thu, 2003-06-05 at 21:18, PlugHead wrote:
> Greg,
> 
> I don't see it either, but you should be able to accomplish the same effect by 
> using the "find" command.  See "man find" and search for "-type".  On my 
> system, the types "directory" (d) and "regular file" (f)  are supported...
> 

There is no reason to do the following:
> find <target-dir> -type d -exec chmod 755 \{\} \;
> find <target-dir> -type f -exec chmod 644 \{\} \;
> 

The following is all that is needed:
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;

I believe the \{\} will not work, but even if it does you do not need
to usr it.

> P.S.  In the future, please consider asking this sort of question on the 
> "newbie" list (or, better yet, on a generic linux/unix list.)  YCITMIGA...
> 

Come on this list is for people to learn and ask questions.

Mike
-- 
Michael Noble
mailto: [EMAIL PROTECTED]


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

Reply via email to