Save a website offline with wget

Here's a quick tip.   You can save a website for offline viewing with wget.
wget -np -k -r -p 'http://code.google.com/appengine/docs/'
  • -np - don't go up to the parent directory
  • -p - grab page links (CSS, javascript, images)
  • -k - convert http links to file links
  • -r - do it recursively, does a default recursion depth of 5, you can change this with -l