From owner-freebsd-questions Mon Feb 25 8:19:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (att-98-60-141.atl.mediaone.net [24.98.60.141]) by hub.freebsd.org (Postfix) with ESMTP id 574B737B405 for ; Mon, 25 Feb 2002 08:19:40 -0800 (PST) Received: from bsd ([192.168.10.7] helo=bsd.smnolde.com) by smnolde.com with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.30 #1) id 16fNqm-000MWX-00; Mon, 25 Feb 2002 11:19:40 -0500 Received: from scott by bsd.smnolde.com with local (Exim 3.33 #1) id 16fNql-0007sn-00; Mon, 25 Feb 2002 11:19:39 -0500 Date: Mon, 25 Feb 2002 11:19:39 -0500 From: "Scott M. Nolde" To: Joe & Fhe Barbish Cc: FBSDQ Subject: Re: Simple script ? Message-ID: <20020225111939.C29826@smnolde.com> References: <20020225094817.A29826@smnolde.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from barbish@a1poweruser.com on Mon, Feb 25, 2002 at 11:04:16AM -0500 X-Disclaimer: If you can read this you're looking for too much 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 You could also install the ncftp3 package, as that has excellent scripting capabilities with ncfptget. But, given the goodness of FreeBSD, you may do as you wish as there is more than one way to do it. - Scott Joe & Fhe Barbish(barbish@a1poweruser.com)@2002.02.25 11:04:16 +0000: > Sure it would be, I would not have to install the portupgrade port which > uses ruby a dependent port. That sure is a lot of disk space just to replace > one FTP command. > > -----Original Message----- > From: Scott M. Nolde [mailto:scott@smnolde.com] > Sent: Monday, February 25, 2002 9:48 AM > To: Joe & Fhe Barbish > Cc: FBSDQ > Subject: Re: Simple script ? > > Would it be any different than pkg_fetch(1)? > > > Joe & Fhe Barbish(barbish@a1poweruser.com)@2002.02.25 09:35:19 +0000: > > I have the following script that I call getpackage. > > I want to change it so I can say getpackage misc/ytree-1.74.tgz > > or any other directory/file name and it will be substituted in the ftp > > command. > > > > How do I do this? > > #! /bin/sh > > > > ftp -a -v > > > ftp5.FreeBSD.org:/pub/FreeBSD/releases/i386/4.4-RELEASE/packages/misc/ytree- > > 1.74.tgz > > > -- > Scott Nolde > GPG Key 0xD869AB48 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message