From owner-freebsd-questions Thu Dec 17 12:53:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15276 for freebsd-questions-outgoing; Thu, 17 Dec 1998 12:53:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pobox.com (jaresh-48.mdm.mkt.execpc.com [169.207.81.176]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA15252 for ; Thu, 17 Dec 1998 12:53:53 -0800 (PST) (envelope-from hamilton@pobox.com) Message-Id: <199812172053.MAA15252@hub.freebsd.org> Received: (qmail 29030 invoked from network); 17 Dec 1998 14:54:59 -0600 Received: from localhost (HELO pobox.com) (127.0.0.1) by localhost with SMTP; 17 Dec 1998 14:54:59 -0600 To: cjclark@home.com cc: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Subject: Re: Web Download In-reply-to: Your message of "Thu, 17 Dec 1998 15:35:52 EST." <199812172035.PAA17036@cc942873-a.ewndsr1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 17 Dec 1998 14:54:59 -0600 From: Jon Hamilton Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199812172035.PAA17036@cc942873-a.ewndsr1.nj.home.com>, "Crist J. Cl ark" wrote: [ ... ] } 1) A quick look at lynx has not revealled to me a quick } and dirty way to get it to download it in a script. } Anyone familiar enough with lynx to show me how I } would do it? lynx -dump http://www.foo.com/foo.html should do what you're asking. There are some other options I usually use within scripts; I generally add -nolist to get it to not list the links at the bottom of the output, but that doesn't sound like an issue in your scenario. } 2) There are a number of mirror type utilities in the ports. } However, I am pressed for space on my hard drive (and } actually would rather do this on a different machine) } and think that an elaborate mirror utility is overkill. } Are there any web utilities that would be reasonable for } downlioading _ONE_ file a day? fetch(1) is part of the system already, and is intended for just that purpose. ``fetch -o /tmp/blat http://www.foo.com/bar/'' would go get http://www.foo.com/bar and stuff its contents into /tmp/blat on your local machine. You'll have to be sure to put a trailing slash on the URL, otherwise fetch(1) complains. -- Jon Hamilton hamilton@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message