According to the man pages, when I specify --convert-links
to wget:
After the download is complete, convert the links in the document to make them suitable for local viewing [...] Note that only at the end of the download can Wget know which links have been downloaded. Because of that, the work done by -k will be performed at the end of all the downloads.
Let's say I do something like wget --convert-links http://stackoverflow.com
. This site is large enough that I may never complete downloading everything. In this case, will I never get my links converted over?
When I run this locally from /tmp/wget
, I see a directory called stackoverflow.com
with files like index.html
and tour.html
. But when I load up the index page and hover over the link for the tour, it takes me to file:///tour.html
, instead of file:///tmp/wget/stackoverflow.com/tour.html
(the actual file location).