From: sysdrk on
> > I have a lot of files I need to copy to another server using scp
> > (secure copy).  For efficiency reasons I want to minimize the number
> > of scp invocations.  So, logically I would like to do this:
> > find ... [files]  |  xargs -i scp {} user(a)server:/somedir
> > Unfortunately, I have to use the replacement string {} since I need to
> > provide a directory as the last parameter to scp.  However, this
> > causes xargs to invoke scp for each individual file.

Thanks for all the replies. It looks like the wrapper suggestion is
the easiest and cleanest solution so I'm going to go with that.

Denis