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]
存在远程文件且该文件可能含有更深层的链接,
但不能进行递归操作 -- 无法获取。

 

posted @   滴滴滴  阅读(25792)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
点击右上角即可分享
微信分享提示