Wget - mirror remote webserver: Difference between revisions

From Skytech
Jump to navigation Jump to search
(Created page with "= Mirroring a remote webservice with wget = <pre> wget -mk -w 20 http://www.example.com/ </pre> Would mirror everything from example.com and -k would ensure it is making link...")
 
No edit summary
 
Line 1: Line 1:
= Mirroring a remote webservice with wget =
= Mirroring a remote webservice with wget =
<pre>
<pre>
wget -mk -w 20 http://www.example.com/
wget -mk -w 2 http://www.example.com/
</pre>
</pre>


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.
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.

Latest revision as of 08:46, 25 July 2013

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.