Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2002 20:31:53 +0000
From:      Jeremy Faulkner <gldisater@gldis.ca>
To:        Wayne Lubin <wayneclubin@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: Getting source tree via ftp
Message-ID:  <20020329203153.A5246@constans.gldis.ca>
In-Reply-To: <20020329024205.38046.qmail@web14704.mail.yahoo.com>; from wayneclubin@yahoo.com on Thu, Mar 28, 2002 at 06:42:05PM -0800
References:  <3CA3CD78.1060109@cream.org> <20020329024205.38046.qmail@web14704.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 28, 2002 at 06:42:05PM -0800, Wayne Lubin wrote:
> So then without the ability to get the entire source
> tree as a tar file with the "get lex.tar" command,
> what is the best way to get the source tree via ftp? I
> guess what I am asking is if ftp has a single commmand
> that will get all files that I need and put them into
> the proper directories, or, do I have to literaly get
> each file one by one, or, is there something in
> between that ftp offers. I have looked at the ftp man
> page and did not see any commands that would dig into
> sub directories or do other useful stuff that would be
> helpful. Thanks for the help.

rm -rf /usr/src
mkdir somedir
cd somedir
ftp stable.freebsd.org
cd pub/FreeBSD/snapshots/i386/<desired snapshot>/src
prompt off
mget *
exit
sh install.sh all (as root)
rm -rf somedir

<desired snapshot> will be in the form 4.5-<date>-STABLE

-- 
Jeremy Faulkner			http://www.gldis.ca

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?20020329203153.A5246>