Rusty,

You got it!!!  Now, what does "xargs: unmatched single quote" mean?  
That's what it's telling me when I use your method.  Am I missing 
something from your line?

find /the/directory/in/question -type f | xargs chmod 644

Seve

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 1/4/01, 8:59:52 AM, Rusty Carruth <[EMAIL PROTECTED]> wrote 
regarding Re[2]: [expert] CHMOD Question:


> Sevatio Octavio <[EMAIL PROTECTED]> wrote:
> > Thank you for understanding the objective.  Wouldn't it be nice to have
> > the 'elegant' solution when dealing with a large directory tree?
> >
> > Seve


> well, the elegant solution is:


> find /the/directory/in/question -type f | xargs chmod 644

> This will find and change all (changable) files in all directories
> starting at /the/directory/in/question and below.

> there you go...

> rc


> Rusty Carruth          Email:     [EMAIL PROTECTED] or 
[EMAIL PROTECTED]
> Voice: (480) 345-3621  SnailMail: Schlumberger ATE
> FAX:   (480) 345-8793             7855 S. River Parkway, Suite 116
> Ham: N7IKQ @ 146.82+,pl 162.2     Tempe, AZ 85284-1825

Reply via email to