[Linux-disciples] Relative links from wget recursive retrievals

Stephen R Laniel linux-disciples@bostoncoop.net
Fri, 6 Feb 2004 11:51:28 -0500


I'm downloading a website recursively for work, and I'm running
into a problem: it's saving relative links correctly, which means
the linked pages don't load properly.

E.g., one of the relative links is to '/whatsnew'. That's
http://foo.com/whatsnew on the website, but it's
c:\foo\a\b\c\d\whatsnew on my hard drive. When I try to open
'/whatsnew' on my hard drive, my browser looks for something in
c:\whatsnew.

So basically: is there a way to make my browser or wget or
*someone* use a different directory as the root for relative
links?

-- 
``I personally find it worrying that the administration's choices
  in domestic and foreign policy are starting to puzzle clever
  economists. These, after all, are people who by temperament and
  training will bend over backwards till their spines snap before
  saying the words, `Yeah, I guess you'd have to say that was
  pretty irrational.'''
 -http://www.crookedtimber.org/archives/001265.html