From owner-freebsd-questions Fri Mar 29 17:31:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from constans.gldis.ca (constans.gldis.ca [216.187.105.233]) by hub.freebsd.org (Postfix) with ESMTP id 310C137B417 for ; Fri, 29 Mar 2002 17:31:34 -0800 (PST) Received: (from gldisater@localhost) by constans.gldis.ca (8.11.6/8.11.6) id g2TKVrQ05297; Fri, 29 Mar 2002 20:31:53 GMT (envelope-from gldisater) Date: Fri, 29 Mar 2002 20:31:53 +0000 From: Jeremy Faulkner To: Wayne Lubin Cc: questions@freebsd.org Subject: Re: Getting source tree via ftp Message-ID: <20020329203153.A5246@constans.gldis.ca> References: <3CA3CD78.1060109@cream.org> <20020329024205.38046.qmail@web14704.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020329024205.38046.qmail@web14704.mail.yahoo.com>; from wayneclubin@yahoo.com on Thu, Mar 28, 2002 at 06:42:05PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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//src prompt off mget * exit sh install.sh all (as root) rm -rf somedir will be in the form 4.5--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