Download whole website using command

# wget -r –level=0 -convert-links –page-requisites –no-parent http://www.website.com

The wget options:
-r
–recursive, perform recursive
-l
–level=,Use 0 for infinite depth level or use number greater than 0 for limited depth.
-k
-convert-links,Modify links inside downloaded files to point to local files.
-p
–page-requisites, Get all images, css, js files which make up the web page.
-np
–no-parent, Don’t download parent directory contents.

3 thoughts on “Download whole website using command

  1. The downloaded website goes to the same location where you HIT th ecommand, the name of the directory will be website url……:-)

Leave a comment