From owner-freebsd-isp@FreeBSD.ORG Sun Jun 22 10:19:39 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 191E737B401 for ; Sun, 22 Jun 2003 10:19:39 -0700 (PDT) Received: from nebula.skynet.be (nebula.skynet.be [195.238.2.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C61C43FB1 for ; Sun, 22 Jun 2003 10:19:38 -0700 (PDT) (envelope-from geraerts.jo@skynet.be) Received: from ernie.lan.net (109.198-136-217.adsl.skynet.be [217.136.198.109])id h5MHJao5019445 for ; Sun, 22 Jun 2003 19:19:36 +0200 (envelope-from ) Received: from jgeraert by ernie.lan.net with local (Exim 3.36 #1 (Debian)) id 19U8V5-0003qz-00 for ; Sun, 22 Jun 2003 19:19:35 +0200 Date: Sun, 22 Jun 2003 19:19:35 +0200 From: Jo Geraerts To: freebsd-isp@freebsd.org Message-ID: <20030622171935.GA14742@ernie.lan.net> References: <200306181340.06730.etienne@unix.za.org> <20030622185431.79d8c0de.Alexander@Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030622185431.79d8c0de.Alexander@Leidinger.net> User-Agent: Mutt/1.5.4i Sender: Jo Geraerts Subject: Re: What would be the best way to copy lots of files from one server to another. X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2003 17:19:39 -0000 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 * ******************************************************************/