How to make a dump of a website

From Wiki
Jump to navigation Jump to search

If you want to make a dump of a website, then you can do:

/usr/bin/wget -q --convert-links -E -m
wget --progress=bar --convert-links -E -m

Actually, to download a single page and all its requisites (even if they exist on separate websites), and make sure the lot displays properly locally, this author likes to use a few options in addition to -p:

wget -E -H -k -K -p http://<site>/<document>

-E adjust extention ???

-H also download from foreign hosts

-p download all page requisites

PvdM version:

wget -r -k -K -p http://

-r recursive

-k convert links

-K backup converted