Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!timbuk!hrp From: hrp@cray.com (Hal Peterson) Newsgroups: comp.unix.misc Subject: Re: Too many words from `` (csh) Summary: Use xargs. Message-ID: Date: 5 Mar 91 16:00:39 GMT References: <1991Mar3.235738.9657@csis.dit.csiro.au> <21658@teda.UUCP> Followup-To: comp.unix.misc Organization: Cray Research, Inc. Lines: 15 In-reply-to: mikel@teda.UUCP's message of 5 Mar 91 02:23:59 GMT In article <21658@teda.UUCP> mikel@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@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