Wget offline copy of a website

Wget is a fantasitc tool. You need to create an offline copy of a site. No probem. Wget can help you make such copy easily:

wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://example.com


wget -mkEpnp http://example.com


-m,  --mirror                           shortcut for -N -r -l inf --no-remove-listing
-k,  --convert-links                 make links in downloaded HTML or CSS point to local files
-E,  --adjust-extension          save HTML/CSS documents with proper extensions
-p,  --page-requisites            get all images, etc. needed to display HTML page
-np, --no-parent                     don't ascend to the parent directory