Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 1998 10:32:42 +0200
From:      Nadav Eiron <nadav@barcode.co.il>
To:        chas <panda@peace.com.my>
Cc:        michael dorin <mike@chaski.com>, questions@FreeBSD.ORG
Subject:   Re: ftp a whole tree?
Message-ID:  <34EA9CAA.3686@barcode.co.il>
References:  <3.0.32.19980218022721.00946d00@peace.com.my>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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