Grab/Download complete websites using wget to make them available offline

If you wants to make a complete website offline available, you can do this quickly and easily with the following shell command:

wget --mirror --page-requisites --convert-links http://www.google.com

Or as well with the short form:

wget -mpk http://www.google.com

 
The Options:
‘-mirror’ or short ‘-m’: Mirrors the complete Website
‘-page-requisites’ or short ‘-p’: Loading all external elements, that are needed to used the pages
‘-convert-links’ or short ‘-k’: Converts Hyperlinks for using these offline
 
Now you can easily use the site offline with your lokal browser. 😉

Tip: For more informations read simply the man page. You will get them with the following shell action:

man wget
  1. No comments yet.

  1. No trackbacks yet.