- Written by
- Posted January 23, 2010 at 3:39 pm
List of useful wget options for site mirroring and a tutorial.
−a logfile
−−append−output=logfile
Append to logfile.This is the same as −o,only it appends to logfile instead of overwriting the old log file.If logfile does not exist, a newfile is created.
−i file
−−input−file=file
Read URLs from file.If − is specified as file,URLs are read from the standard input. (Use ./− to read from a file literally named −.)
If this function is used, no URLs need be present on the command line. If there are URLs both on the command line and in an input file, those on the command lines will be the first ones to be retrieved. The file need not be an HTML document (but no harm if it is)−−−it is enough if the URLs are just listed sequentially.
However, ifyou specify −−force−html,the document will be regarded as html.Inthat case you may have problems with relative links, which you can solveeither by adding <base href=”url”> to the documents or by specifying −−base=url on the command line.
Read the rest of this entry »