Jeff Waugh wrote: > <quote who="Erik de Castro Lopo"> > > > find <top level dir> -type d -exec chmod 755 {} \; > > That runs chmod separately
Yeah, I know, but if I need to do it once every couple of months, who cares. > for every directory found. Use xargs. :-) If you want to complicate matters :-) Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "Or here's an even simpler indicator of how much C++ sucks: Print out the C++ Public Review Document. Have someone hold it about three feet above your head and then drop it. Thus you will be enlightened." -- Thant Tessman -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html