download the html page for offline use


I want to make an html page available for offline viewing by downloading the html and all images / css resources from it, but not other pages which are links.

I was looking at httrack and wget but could not find the right set of arguments (I need the command line).

Any ideas?

If you want to download using the newest version of wget, get it using cygwin installer and use this version

wget -m –w 2 –p -E -k –P {target-dir} http://{website}

to mirror {website} to {target-dir} (without images in 1.11.4).

Leave out -w 2 to speed up the progress.