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
- Re: cp -d dir patch for review (or 'xargs'?) Rodney W. Grimes
- Re: cp -d dir patch for review (or 'xargs'?) Brian Dean
- Re: cp -d dir patch for review (or 'xargs'?) Brad Huntting
- Re: cp -d dir patch for review (or 'xargs'?) Rodney W. Grimes
- Re: cp -d dir patch for review (or 'xargs... Brian Somers
- Re: cp -d dir patch for review (or 'x... Sheldon Hearn
- Re: cp -d dir patch for review (... Oliver Fromme
- Re: cp -d dir patch for revi... Sheldon Hearn
- Re: cp -d dir patch for revi... Oliver Fromme
- Re: cp -d dir patch for revi... Sheldon Hearn
- Re: cp -d dir patch for revi... Brian Dean
- Re: cp -d dir patch for revi... Oliver Fromme
- Re: cp -d dir patch for revi... Karsten W. Rohrbach
- Re: cp -d dir patch for revi... Brian Somers
- Re: cp -d dir patch for revi... Jordan Hubbard
- Re: cp -d dir patch for revi... Oliver Fromme
- Re: cp -d dir patch for revi... Jordan Hubbard
- Re: cp -d dir patch for revi... Dima Dorfman
- Re: cp -d dir patch for revi... Oliver Fromme
- Re: cp -d dir patch for revi... Brian Somers
- Re: cp -d dir patch for revi... Brian Somers
