Recursion without -R

Georg Wittig wittig at gmdzi.UUCP
Wed Aug 15 19:31:41 AEST 1990


rjshaw at ramius.ocf.llnl.gov (Robert Shaw) writes:

>What are some quick tricks for getting programs like chmod and chown to
>descend into all subdirectories? Programs without a -R option, that is.

	find .		-exec chmod go-rw {} \;
--or--	find . -type f	-exec chmod go-rw {} \;

-- 
Georg Wittig  GMD-Z1.IT	| wittig at gmdzi.gmd.de	| "Freedom's just another word
P.O. Box 1240		| wittig at zi.gmd.dbp.de	|  for nothing left to lose"
D-5205 St. Augustin 1	|			| (Kris Kristofferson)
West Germany		| (+49) 2241 14-2294	|



More information about the Comp.unix.questions mailing list