Mirror a complete website for local browsing with wget
daniel posted this on Jul 4th 2007 under Howto
Use the following command to mirror a complete website so you can browse it locally.
wget --mirror -p --html-extension –-convert-links -P ./localsites http://www.x.com
This mirros the complete site into the localsites directory. It also makes sure all links are converted so everything works OK.
