Subject: Re: OT: Mirroring a site.
To: Rakhesh Sasidharan <rakhesh@cse.iitd.ernet.in>
From: Tyler Mitchell <fission@mb.sympatico.ca>
List: netbsd-help
Date: 04/15/2001 15:51:03
On Sat, 14 Apr 2001, Rakhesh Sasidharan wrote:
> Hi,
>
> This isn't a NetBSD specific doubt, but I didn't know where else to raise
> it.
>
> I need to mirror some sites for offline viewing. I usally use "wget" to
> recursively suck parts of the web, but in some cases it does not work. For
> exampe, say www.imap.org. I want to suck the whole site to (say)
> /mirrors/www.imap.org. This means I want all links in the file of the
> form /pics/something.jpg should be modified to point to
> /mirrors/www.imap.org/pics/something.jpg -- is there some way to do this
> automatically, or do I have to visit each file and do it manually ? Or
> maybe I'm using the wrong program for mirroring ... could somebody help ?
Well, I think there are other programs to use for mirroring, but if you're
using wget, you could try using the "-k" option, which converts
non-relative links to relative links. (I assume you're already using the
-m option?)
> Thanks,
> __
> Rakhesh Sasidharan rakhesh at cse.iitd.ac.in
--
Tyler Mitchell
$ fortune -m "fractal dragon"