uhm - find and xargs are your friends...

find /path/to/your/folder -type f | xargs chmod -v 755
find /path/to/your/folder -type d | xargs chmod -v 777

that should do you...

man find

and

man xargs

for more info!


Cheers, dan.

At 9:39 AM +0530 1/11/00, Deependra B. Tandukar wrote:
>Dear All,
>
>I know, it can be done but forgot.
>
>I have a folder with many subfolders and files. I want to give all the files
>chmod 755 and all the folders 777. Can any one help?
-- 

        Nitro - 3D Visualisation, Graphics & Animation
                Ph (+61 2) 9810 5177 - Fx (+61 2) 9810 0199
                        http://www.nitro.com.au/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to