On Wed, Sep 04, 2002 at 09:19:16AM -0400, Timothy Writer wrote:
> I recommend using find in combination with xargs instead of -exec. Like
> this:
>
> find -type f -print | xargs chmod 644
> find -type d -print | xargs chmod 755
I agree about xargs, but use the NUL options:
U
I recommend using find in combination with xargs instead of -exec. Like
this:
find -type f -print | xargs chmod 644
find -type d -print | xargs chmod 755
The difference is it doesn't create a separate chmod process for each and
every file and directory. Running find with -exec on a
Thanks for that Phil, my brain seems to be out to lunch today :o)
-Original Message-
From: Skuse, Phil [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2002 11:28
To: '[EMAIL PROTECTED]'
Subject: RE: file - directory permissions
how about
find -type f -exec chmod 644 {} \;
fin
how about
find -type f -exec chmod 644 {} \;
find -type d -exec chmod 755 {} \;
-Original Message-
From: Gordon McDowall [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2002 11:18
To: '[EMAIL PROTECTED]'
Subject: file - directory permissions
Hi
We run a few virtual web servers and of