Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2003 19:19:35 +0200
From:      Jo Geraerts <geraerts.jo@skynet.be>
To:        freebsd-isp@freebsd.org
Subject:   Re: What would be the best way to copy lots of files from one server to another.
Message-ID:  <20030622171935.GA14742@ernie.lan.net>
In-Reply-To: <20030622185431.79d8c0de.Alexander@Leidinger.net>
References:  <200306181340.06730.etienne@unix.za.org> <20030622185431.79d8c0de.Alexander@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@skynet.be        *   Poly: many                     *
* http://users.skynet.be/ernie *   Ticks: blood sucking parasites *
******************************************************************/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030622171935.GA14742>