Friday, 16 March 2012

Downloading an entire website in Linux

Complete Website can be downloaded using the following options with wget: 
wget --mirror -p --convert-links -P ./LOCAL-DIR WEBSITE-URL
  • –mirror : turn on options suitable for mirroring.
  • -p : download all files that are necessary to properly display a given HTML page.
  • –convert-links : after the download, convert the links in document for local viewing.
  • -P ./LOCAL-DIR : save all the files and directories to the specified directory.
There are also other tools such as httrack.

References:

 1) http://askubuntu.com/questions/20463/how-can-i-download-an-entire-website

No comments:

Post a Comment