From owner-freebsd-questions Wed Feb 18 01:08:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA19349 for freebsd-questions-outgoing; Wed, 18 Feb 1998 01:08:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA19298 for ; Wed, 18 Feb 1998 01:08:42 -0800 (PST) (envelope-from nadav@barcode.co.il) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.7/8.8.7) id KAA13167; Wed, 18 Feb 1998 10:26:40 +0200 (IST) (envelope-from nadav@barcode.co.il) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V2.0) id xma013164; Wed, 18 Feb 98 10:26:33 +0200 Message-ID: <34EA9CAA.3686@barcode.co.il> Date: Wed, 18 Feb 1998 10:32:42 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.6 sun4u) MIME-Version: 1.0 To: chas CC: michael dorin , questions@FreeBSD.ORG Subject: Re: ftp a whole tree? References: <3.0.32.19980218022721.00946d00@peace.com.my> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG chas wrote: > > I used to use mget (in non-interactive mode) to > ftp a directory and its contents but it required having > the subdirectory structure in place (a pain in the butt). > Nowadays I just tar the directory and ftp the tarball. > It's much faster and more reliable. > > on the source machine : > tar cvf mytarball.tar myparentdirectory > > ftp from one machine to the other : > ftp the tarball (mytarball.tar) to the other machine > > on the destination machine : > then tar -xvf mytar.tar on the destination machine. > > nice b/c it preserves the ownerships on files etc. > apologies if you already knew all this. of course, if > you only have ftp access then mget is the only way. > > chas Take a look at wget in the ports collection. Lets you grab complete hierarchies of http/ftp stuff... > > > [snip] Nadav To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message