Download 递归wget控件下载
wget的递归选项(Download 递归wget控件下载,download,wget,Download,Wget,wget的递归选项(-r选项)偶尔会生成许多文件。例如,wget-r www.cnn.com给出了以下内容: --2013-05-05 10:35:54-- http://www.cnn.com/about/ Reusing existing connection to www.cnn.com:80. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘www.cn
-r
选项)偶尔会生成许多文件。例如,wget-r www.cnn.com
给出了以下内容:
--2013-05-05 10:35:54-- http://www.cnn.com/about/
Reusing existing connection to www.cnn.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘www.cnn.com/about/index.html’
--2013-05-05 10:35:54-- http://www.cnn.com/help/
Reusing existing connection to www.cnn.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘www.cnn.com/help/index.html’
......
如何控制这一点?我们可以指定最大总下载大小、最大下载时间等吗?要在特定时间后停止命令,可以使用命令
timeout
timeout 60 wget ...
将在60秒后停止下载
您可以在持续时间之后添加可选单位:
- 秒的“s”(默认值)
- “m”几分钟
- “h”几个小时
- 好几天了
超时
timeout 60 wget ...
将在60秒后停止下载
您可以在持续时间之后添加可选单位:
- 秒的“s”(默认值)
- “m”几分钟
- “h”几个小时
- 好几天了