Date: Thu, 17 Dec 1998 14:54:59 -0600 From: Jon Hamilton <hamilton@pobox.com> To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Subject: Re: Web Download Message-ID: <199812172053.MAA15252@hub.freebsd.org> In-Reply-To: Your message of "Thu, 17 Dec 1998 15:35:52 EST." <199812172035.PAA17036@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812172053.MAA15252>