Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!sgi!shinobu!odin!micah From: micah@sgi.com (micah altman) Newsgroups: comp.unix.questions Subject: Re: Recursion without -R Message-ID: <1990Aug15.175322.23868@odin.corp.sgi.com> Date: 15 Aug 90 17:53:22 GMT References: <494@llnl.LLNL.GOV> <13595@ulysses.att.com> Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 19 In article kaul@icarus.eng.ohio-state.edu (Rich Kaul) writes: >In article <13595@ulysses.att.com> swfc@ulysses.att.com (Shu-Wie F Chen) writes: > find . -print | xargs chown foo > > Of course, this only works if you have xargs, which is from System V and > is also available on SunOS in their System V software installation option. ... > If your version of find supports the -exec option you could recursively step through files and change the owner to "foo" by issueing the command find . -exec chown foo {} \; ( And yes, the "\;" at the end is necessary ) - Micah Altman Computational Juggler