Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 11:19:39 -0500
From:      "Scott M. Nolde" <scott@smnolde.com>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        FBSDQ <questions@FreeBSD.ORG>
Subject:   Re: Simple script ?
Message-ID:  <20020225111939.C29826@smnolde.com>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOGEMNCIAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Mon, Feb 25, 2002 at 11:04:16AM -0500
References:  <20020225094817.A29826@smnolde.com> <LPBBIGIAAKKEOEJOLEGOGEMNCIAA.barbish@a1poweruser.com>

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




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