Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!samsung!uakari.primate.wisc.edu!sdd.hp.com!hplabs!hpcc01!hpcuhb!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.sys.hp Subject: Re: HP UX chown lacks recursive option, Why? Message-ID: <16710054@hpisod2.HP.COM> Date: 25 May 90 21:26:01 GMT References: <5570415@hpfcdc.HP.COM> Organization: Hewlett Packard, Cupertino Lines: 17 > pyt> cd > pyt> find . -print -exec chown {} \; > > If there are a lot of files to chown, then the following should be MUCH > faster: > > cd > find . -print | xargs chown This still invokes chown once per file. The following will be even faster, since it does the files up to 20 per invocation of chown: > find . -print | xargs -n20 chown Dave