Great Circle Associates Majordomo-Workers
(October 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Chown
From: Arnaud Taddei <Arnaud . Taddei @ cern . ch>
Date: Thu, 31 Oct 1996 08:09:37 +0100 (MET)
To: Christopher Samuel <chris @ rivers . dra . hmg . gb>
Cc: Majordomo developers <majordomo-workers @ GreatCircle . COM>
In-reply-to: <7416.846693132@rivers.dra.hmg.gb>


Question what don't you rewrite:

	a perl Function using all the good perl5 modules like:

	File::Find

to traverse trees

Have a look at:
	http://wwwcn.cern.ch/dci/perl/pod/_index.html
	http://wwwcn.cern.ch/dci/perl/pod/File::Find.html

What I would expect is a real Chown function which is then used by a chown
command rewritten in perl5.

Let me know

On Wed, 30 Oct 1996, Christopher Samuel wrote:

> In message <199610301321.JAA19792@biome.bio.dfo.ca>, 
> 	bill@biome.bio.dfo.ca (Bill Silvert) writes:
> 
> > As for the colon vs. period business, there are two approaches;
> > one is just the brute force solution
> > 
> > find . -exec chown $USER {} \;
> 
> Ugh, that invokes chown/chgrp for each file, a more efficient version
> would be something along the lines of:
> 
> find chown-dir -type f -print | xargs chown $USER
> 
> Personally I'd favour a Perl version that impliments -R and the
> user.group syntax.
> 
> cheers,
> Chris
> 
> 

------------------------------------------------------------
Arnaud Taddei	          tel : +41 22 767 9349 
CN Division 513 1-019	  fax : +41 22 767 7155
CERN			  mail: Arnaud.Taddei@cern.ch
CH-1211 Geneve 23	  URL:  http://wwwcn.cern.ch/~taddei
------------------------------------------------------------



Follow-Ups:
  • Re: Chown
    From: Dave Barr <barr@math.psu.edu>

References:
  • Re: Chown
    From: Christopher Samuel <chris@rivers.dra.hmg.gb>
Indexed By Date Previous: Re: Majordomo CVS source tree
From: Arnaud Taddei <Arnaud.Taddei@cern.ch>
Next: Re: List statistics?
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Indexed By Thread Previous: Re: Chown
From: Christopher Samuel <chris@rivers.dra.hmg.gb>
Next: Re: Chown
From: Dave Barr <barr@math.psu.edu>

Google
 
Search Internet Search www.greatcircle.com