如何重新启动wget下载?


19

我使用该wget应用程序。一个文件已停止下载。如何停止下载并重新开始下载?

这是日志 wget

$ tail -f wget-log
287350K .......... .......... .......... .......... .......... 39%  104K 4h46m
287400K .......... .......... .......... .......... .......... 39%   101K 4h46m
287450K .......... .......... .......... .......... .......... 39%  106K 4h46m
287500K .......... .......... .......... .......... .......... 39%  102K   4h46m
287550K .......... .......... .......... .......... .......... 39%  102K 4h46m
287600K .......... .......... .......... .......... .......... 39%  104K 4h46m
287650K .......... .......... .......... .......... .......... 39%  102K 4h46m
287700K .......... .......... .......... .......... .......... 39% 54.8K 4h46m
287750K .......... .......... .......... .......... .......... 39%  101K 4h46m
287800K .......... ........

Answers:


29

wget只需在终端中按ctrl+ 即可停止下载文件c

要继续停止的下载,只需在下载文件的同一目录中键入以下内容:

wget -c <your download url>

有关的更多信息wget,请在终端中输入以下内容:

wget -h

要么

man wget

6
值得一提的是,这仅在服务器支持Range标头时才有效。
Andrea Corbellini 2015年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.