The non-interactive network downloader
|
-P prefix
--directory-prefix=prefix
Set directory prefix to prefix. The directory prefix is the directory where all other files and
subdirectories will be saved to, i.e. the top of the retrieval tree. The default is . (the current
directory).
|
Recursive Retrieval Options
-r
--recursive
Turn on recursive retrieving. The default maximum depth is 5.
|
-np
--no-parent
Do not ever ascend to the parent directory when retrieving recursively. This is a useful option,
since it guarantees that only the files below a certain hierarchy will be downloaded.
|
Recursive Accept/Reject Options
-A acclist --accept acclist
-R rejlist --reject rejlist
Specify comma-separated lists of file name suffixes or patterns to accept or reject. Note that if any
of the wildcard characters, *, ?, [ or ], appear in an element of acclist or rejlist, it will be
treated as a pattern, rather than a suffix.
|
Directory Options
-nd
--no-directories
Do not create a hierarchy of directories when retrieving recursively. With this option turned on,
all files will get saved to the current directory, without clobbering (if a name shows up more than
once, the filenames will get extensions .n).
|
wget [option]... [URL]...
|