Download whole website using command

# wget -r --level=0 -convert-links --page-requisites --no-parent 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 comments:

Anonymous said...

where does the downloaded file go to??????

ALex SONG said...

where does the downloaded website go to?????????

Anonymous said...

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