On Sat, Apr 21, 2001 at 05:34:31PM +0200, Sheldon Hearn wrote:

> So we have two problems:
> 
> 1) Calling cp(1) repetitively is inefficient.
> 
> 2) The argument list is too big for cp(1).
> 
> Extending cp(1) will not solve (2).  Extending xargs(1) will solve both.
> So why is an extension to cp(1) being proposed?

But extending cp does solve the problem.  The proposal was to make

        % cp -d target src1 src2 ... srcN

Be equivalent to;

        % cp src1 src2 ... srcN target

This makes cp work with xargs;

        % cat ReallyBigListOfFiles | xargs cp -d target

-Brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to