What would be the best way to copy lots of files from one server to another.

Jo Geraerts geraerts.jo at skynet.be
Sun Jun 22 10:19:39 PDT 2003


On Sun, Jun 22, 2003 at 06:54:31PM +0200, Alexander Leidinger wrote:
> Not mentioned yet:
>   cd /path/to/root/of/files && tar -cf - . | ssh me at destination 'cd /path/to destination && tar -xvpf -'
> or similar with "dump ... | ssh ... restore ..." with either the native
> compression of ssh or tar (or no compression at all if the transfered
> size doesn't matter).

Or if you don't need encryption you can also use netcat. Works
like cat but then over tcp/ip sockets.

/usr/ports/net/netcat

Greets,


Jo

-- 
/******************************************************************
* Geraerts Jo                  * Politics:                        *
* geraerts.jo at skynet.be        *   Poly: many                     *
* http://users.skynet.be/ernie *   Ticks: blood sucking parasites *
******************************************************************/




More information about the freebsd-isp mailing list