Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 1999 23:22:42 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        eklee@pa.dec.com
Cc:        grog@lemis.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: freeBSD tar files?
Message-ID:  <199904020422.XAA09034@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <37044220.F148BC1E@pa.dec.com> from "Edward K. Lee" at "Apr 1, 99 08:05:52 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Edward K. Lee wrote,
> 
> Sure,
> 
> I'd just like a convenient way to download the full distribution, whether it's
> one big compressed tar file, or pieces of a tar file in one directory.  That
> way, I can put the distribution on a local server and quickly install FreeBSD on
> all the PC's that I want off of that local server.

Depending on the ftp daemon running on the particular site, you can
grab them all on one tarfile. For example,

% ftp -a ftp://ftp.freebsd.org/pub/FreeBSD/3.1-RELEASE/
Connected to wcarchive.cdrom.com.
220 wcarchive.cdrom.com FTP server (Version DG-3.1.27 Wed Dec 2 01:29:08 PST 1998) ready.
331 Guest login ok, send your email address as password.
[cut logon spam]
> cd ..
> ls
200 PORT command successful.
150 Opening ASCII mode data connection for 'file list'.
total 3
drwxrwxr-x  17 2035  207  1024 Mar 10 08:32 2.2.8-RELEASE
drwxr-xr-x  18 2035  207  1024 Mar 10 08:31 3.1-RELEASE
drwxr-xr-x   5 2035  207   512 Mar  9 12:13 XFree86
226 Transfer complete.
> get 3.1-RELEASE.tar
local: 3.1-RELEASE.tar remote: 3.1-RELEASE.tar

This addition of '.tar' on the end of the directory will pull down the
whole directory tree above it as a tarfile.

One thing to watch about this is that the tar will store symlinks as
symlinks rather than follow them. You'll need to hop back up into the
3.1-RELEASE diretory, cd to the symlink dirs, cd .., then do the same
'get <dirname>.tar.'

Again, this is dependent on the frp daemon run at the particular site,
but ftp.freebsd.org runs this way.
-- 
Crist J. Clark                           cjclark@home.com


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?199904020422.XAA09034>