maillog: 14/02/2005-23:36:32(+0900): Георги Георгиев types
> maillog: 14/02/2005-08:51:05(-0500): Mike Frysinger types
> > On Monday 14 February 2005 02:03 am, Georgi Georgiev wrote:
> > > - Do not use "cp -a" or similar. Better use cp --recursive --dereference
> > >   instead. Which makes me think that a function "ecopy" in eutils would
> > >   be useful.
> > 
> > there's no point in making an 'ecopy' function ... use `doins -r`
> 
> Cool. Didn't know about that. And it even handles links properly... or
> at least it does some magic with them.

Ah, I knew there is a catch.

People usually use a recursive copy so that permissions of executable
files are preserved. Is there some other simple alternative to recreate
a subtree from $WORKDIR to $D? doins -r would make all files 0644 or
whatever the user wants them to be, but all files are with the same
permissions.

-- 
()   Georgi Georgiev   () A holding company is a thing where you       ()
()    [EMAIL PROTECTED]    () hand an accomplice the goods while the       ()
()  +81(90)6266-1163   () policeman searches you.                      ()

--
[email protected] mailing list

Reply via email to