Copying files without scp
Frederique Rijsdijk
frederique at isafeelin.org
Tue Apr 7 22:41:22 PDT 2009
Steve Bertrand wrote:
> Hi all,
>
> To copy data from one server, I normally (always) use scp.
>
> I'm looking for a method to perform this copy task without the overhead
> of encryption for infrequent, high-volume transfers (hundreds to
> thousands of GB).
>
> The data will be transferred server-to-server within a private datacentre.
>
> Can someone recommend a *known good* production quality copy mechanism
> that will act like scp, but without the overhead? rsh? nc?
>
On the listening end:
cd / ; nc -l 12345 | tar xpvf -
On the sending end:
cd / ; tar cf - /path/file | nc <target ip> 12345
Replace 'x' by 't' on the listening end to verify that it's going to do
what you would want/expect.
-- Frederique
More information about the freebsd-questions
mailing list