Go to the first, previous, next, last section, table of contents.


Basic Options

The command line arguments, sorted alphabetically.

`-a logfile'
`--append-output=logfile'
Append to logfile---the same as `-o', but appending to the logfile (or creating a new one if the old does not exist) instead of overwriting the old log file.
`-d'
`--debug'
Turn on debug output, meaning various information important to the developers of Wget if it does not work properly. Your system administrator may have chosen to compile Wget without debug support. In that case `-d' will not work. Please note that even if the program is compiled with debug support, it will not print any debug info unless `-d' is turned on explicitly. See section Reporting Bugs for more information on how to send a bug report.
`-h'
`--help'
Print a help screen. You will also get help if you do not supply command-line arguments.
`-i file'
`--input-file=file'
Read URLs from file, in which case no URLs need to be 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, if you specify `--force-html', the document will be regarded as `html'. In that case you may have problems with relative links, which you can solve either by adding <base href="url"> to the documents or by specifying `--base=url' on the command line.
`-l depth'
`--level=depth'
Specify recursion maximum depth level depth (See section Recursive Retrieval). The default maximum depth is 5.
`-nc'
`--no-clobber'
Do not clobber existing files when saving to directory hierarchy within recursive retrieval of several files. This option is extremely useful when you wish to continue where you left off with retrieval of many files. If the files have the `.html' or (yuck) `.htm' suffix, they will be loaded from the local disk, and parsed as if they have been retrieved from the Web.
`-o logfile'
`--output-file=logfile'
Log all messages to logfile, instead of standard output, which is the default. If you do not wish the log output to be verbose, use `-nv' (non-verbose).
`-q'
`--quiet'
This option is the opposite of verbose, making Wget completely quiet.
`-r'
`--recursive'
Turn on recursive retrieving (See section Recursive Retrieval).
`-t num'
`--tries=num'
Set number of retries to num. Specify 0 or `inf' for infinite retrying.
`-V'
`--version'
Display the version of Wget.
`-v'
`--verbose'
Turn on verbose output, with all the available data. The default output is verbose.


Go to the first, previous, next, last section, table of contents.