wget命令 -c断点续传

wget -O   wordpress.zip http://www.linuxde.net/download.aspx?id=1080

下载文件在指定位置并进行重命名

-O file
       --output-document=file
           The documents will not be written to the appropriate files, but all will be concatenated
           together and written to file.  If - is used as file, documents will be printed to standard
           output, disabling link conversion.  (Use ./- to print to a file literally named -.)

wget -c  断点续传,连续下

-c        --continue            Continue getting a partially-downloaded file.  This is useful when you want to finish up a            download started by a previous instance of Wget, or by another program.  For instance:

wget -c ftp://sunsite.doc.ic.ac.uk/ls-lR.Z

wget限速下载 wget --limit-rate=300k http://www.linuxde.net/testfile.zip
wget --limit-rate=330k

使用wget后台下载 wget -b    http://www.linuxde.net/testfile.zip Continuing in background, pid 1840. Output will be written to `wget-log'.
-b 后台下载

[root@gitlab 40team]# wget --spider www.baidu.com
开启 Spider 模式。检查是否存在远程文件。
--2017-11-30 13:05:36--  http://www.baidu.com/
正在解析主机 www.baidu.com (www.baidu.com)... 111.13.100.92, 111.13.100.91
正在连接 www.baidu.com (www.baidu.com)|111.13.100.92|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:277 [text/html]
存在远程文件且该文件可能含有更深层的链接,
但不能进行递归操作 -- 无法获取。

上一篇:VirtualBox虚拟机Centos7网络配置


下一篇:gradle-4.1-all.zip