Too many words from `` (csh)

Hal Peterson hrp at cray.com
Wed Mar 6 02:00:39 AEST 1991


In article <21658 at teda.UUCP> mikel at teda.UUCP (Mikel Lechner) writes:

	   find . -type f -exec chmod 644 {} ';'

   However, this will run a bit slower, since it will create a new chmod
   process for each file encountered.  But, it will work.

If you have xargs, this is better:

	find . -type f -print | xargs chmod 644
--
Hal Peterson			Internet:  hrp at cray.com
Cray Research, Inc.		Telephone:  +1 612 683 5440
	In any given time, most people have accepted the cruellest wrongs
	as right.					-Andrea Dworkin



More information about the Comp.unix.misc mailing list