Wget - mirror remote webserver

From Skytech
Jump to navigation Jump to search

Mirroring a remote webservice with wget

wget -mk -w 2 http://www.example.com/

Would mirror everything from example.com and -k would ensure it is making links pointing relative on localmachine instead of absolute path to remote server.

-w is to wait 2sec between each query not to hammer the remote server.