<!-- Creator : groff version 1.22.4 -->
<!-- CreationDate: Thu May 11 17:15:01 2023 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
html { background: white; color: black }
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
h1 { text-align: center }
</style>
<title>WGET</title>
</head>
<body>
<h1 align="center">WGET</h1>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#ENVIRONMENT">ENVIRONMENT</a><br>
<a href="#EXIT STATUS">EXIT STATUS</a><br>
<a href="#FILES">FILES</a><br>
<a href="#BUGS">BUGS</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<a href="#AUTHOR">AUTHOR</a><br>
<a href="#COPYRIGHT">COPYRIGHT</a><br>
<hr>
<h2>NAME
<a name="NAME"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">Wget −
The non−interactive network downloader.</p>
<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">wget
[<i>option</i>]... [ <i><small>URL</small></i> ]...</p>
<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><small>GNU</small>
Wget is a free utility for non-interactive download of files
from the Web. It supports <small>HTTP, HTTPS,</small> and
<small>FTP</small> protocols, as well as retrieval through
<small>HTTP</small> proxies.</p>
<p style="margin-left:11%; margin-top: 1em">Wget is
non-interactive, meaning that it can work in the background,
while the user is not logged on. This allows you to start a
retrieval and disconnect from the system, letting Wget
finish the work. By contrast, most of the Web browsers
require constant user’s presence, which can be a great
hindrance when transferring a lot of data.</p>
<p style="margin-left:11%; margin-top: 1em">Wget can follow
links in <small>HTML, XHTML,</small> and <small>CSS</small>
pages, to create local versions of remote web sites, fully
recreating the directory structure of the original site.
This is sometimes referred to as "recursive
downloading." While doing that, Wget respects the Robot
Exclusion Standard (<i>/robots.txt</i>). Wget can be
instructed to convert the links in downloaded files to point
at the local files, for offline viewing.</p>
<p style="margin-left:11%; margin-top: 1em">Wget has been
designed for robustness over slow or unstable network
connections; if a download fails due to a network problem,
it will keep retrying until the whole file has been
retrieved. If the server supports regetting, it will
instruct the server to continue the download from where it
left off.</p>
<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>Option
Syntax</b> <br>
Since Wget uses <small>GNU</small> getopt to process
command-line arguments, every option has a long form along
with the short one. Long options are more convenient to
remember, but take time to type. You may freely mix
different option styles, or specify options after the
command-line arguments. Thus you may write:</p>
<p style="margin-left:11%; margin-top: 1em">wget -r
--tries=10 http://fly.srk.fer.hr/ -o
log</p>
<p style="margin-left:11%; margin-top: 1em">The space
between the option accepting an argument and the argument
may be omitted. Instead of <b>-o log</b> you can write
<b>-olog</b>.</p>
<p style="margin-left:11%; margin-top: 1em">You may put
several options that do not require arguments together,
like:</p>
<p style="margin-left:11%; margin-top: 1em">wget -drc
<URL></p>
<p style="margin-left:11%; margin-top: 1em">This is
completely equivalent to:</p>
<p style="margin-left:11%; margin-top: 1em">wget -d
-r -c <URL></p>
<p style="margin-left:11%; margin-top: 1em">Since the
options can be specified after the arguments, you may
terminate them with <b>--</b>. So the following
will try to download <small>URL</small> <b>-x</b>,
reporting failure to <i>log</i>:</p>
<p style="margin-left:11%; margin-top: 1em">wget -o
log -- -x</p>
<p style="margin-left:11%; margin-top: 1em">The options
that accept comma-separated lists all respect the convention
that specifying an empty list clears its value. This can be
useful to clear the <i>.wgetrc</i> settings. For instance,
if your <i>.wgetrc</i> sets "exclude_directories"
to <i>/cgi-bin</i>, the following example will first
reset it, and then set it to exclude <i>/~nobody</i> and
<i>/~somebody</i>. You can also clear the lists in
<i>.wgetrc</i>.</p>
<p style="margin-left:11%; margin-top: 1em">wget -X
"" -X /~nobody,/~somebody</p>
<p style="margin-left:11%; margin-top: 1em">Most options
that do not accept arguments are <i>boolean</i> options, so
named because their state can be captured with a yes-or-no
("boolean") variable. For example,
<b>--follow-ftp</b> tells Wget to follow
<small>FTP</small> links from <small>HTML</small> files and,
on the other hand, <b>--no-glob</b> tells
it not to perform file globbing on <small>FTP</small> URLs.
A boolean option is either <i>affirmative</i> or
<i>negative</i> (beginning with <b>--no</b>).
All such options share several properties.</p>
<p style="margin-left:11%; margin-top: 1em">Unless stated
otherwise, it is assumed that the default behavior is the
opposite of what the option accomplishes. For example, the
documented existence of
<b>--follow-ftp</b> assumes that the
default is to <i>not</i> follow <small>FTP</small> links
from <small>HTML</small> pages.</p>
<p style="margin-left:11%; margin-top: 1em">Affirmative
options can be negated by prepending the
<b>--no-</b> to the option name; negative
options can be negated by omitting the
<b>--no-</b> prefix. This might seem
superfluous---if the default for an
affirmative option is to not do something, then why provide
a way to explicitly turn it off? But the startup file may in
fact change the default. For instance, using
"follow_ftp = on" in <i>.wgetrc</i> makes Wget
<i>follow</i> <small>FTP</small> links by default, and using
<b>--no-follow-ftp</b> is the only
way to restore the factory default from the command
line.</p>
<p style="margin-left:11%; margin-top: 1em"><b>Basic
Startup Options</b></p>
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>-V</b></p></td>
<td width="86%">
</td></tr>
</table>
<p style="margin-left:11%;"><b>--version</b></p>
<p style="margin-left:17%;">Display the version of
Wget.</p>
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>-h</b></p></td>
<td width="86%">
</td></tr>
</table>
<p style="margin-left:11%;"><b>--help</b></p>
<p style="margin-left:17%;">Print a help message describing
all of Wget’s command-line options.</p>
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>-b</b></p></td>
<td width="86%">
</td></tr>
</table>
<p style="margin-left:11%;"><b>--background</b></p>
<p style="margin-left:17%;">Go to background immediately
after startup. If no output file is specified via the
<b>-o</b>, output is redirected to
<i>wget-log</i>.</p>
<p style="margin-left:11%;"><b>-e</b> <i>command</i>
<b><br>
--execute</b> <i>command</i></p>
<p style="margin-left:17%;">Execute <i>command</i> as if it
were a part of <i>.wgetrc</i>. A co
把 OpenGrok search 上的Android 开源代码扒下来
162 浏览量
2023-07-04
00:21:06
上传
评论
收藏 5.08MB ZIP 举报
尘落曦枫
- 粉丝: 56
- 资源: 4
最新资源
- PxCook-像素大厨Mac版本安装包
- 基于mysql和python的学生选课系统【课程设计(实验报告+源码)】
- PxCook-像素大厨Windows版本安装包
- aspose-words-23.12-jdk16 有水印
- [大模型部署]在C# Winform中使用文心一言ERNIE-3.5 4K 聊天模型
- python毕业设计-基于Django+OpenCV的二维码生成与识别系统设计与实现.zip
- python毕业设计-基于Django+OpenCV的二维码生成与识别系统设计与实现+使用说明.zip
- 基于STM32单片机空气监测系统设计源码+详细文档+配套全部资料(毕业设计).zip
- rdf0412-kcu116-pcie-c-2019-1.zip(XILINX KCU116 源码)
- 基于C#语言的winform界面火车票订票系统(源码+实验报告)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈