Saturday, June 4, 2011

wget Usage: Super, Elite, Ninja's Guide

Well if you made it this far with the posts I commend you. Well done. You have come a long way. Now is where the real fun starts. :)

A simple way to keep a mirror of a web site is simply use the -mirror (-m) command such as:

wget -m http://www.myhomesite.com

and you are able to get a log of this activity and what happens by adding the -o weblog to the line which is useful.

There are so many options for wget if you have a problem or would like to see more of what wget will do view the well documented and easy to read help file wget --help

Very nice documentation. Good luck, See you next time.

The Linux Redneck.

:)