博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
wget命令 -c断点续传
阅读量:6912 次
发布时间:2019-06-27

本文共 1247 字,大约阅读时间需要 4 分钟。

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

 

转载于:https://www.cnblogs.com/gaoyuechen/p/7928439.html

你可能感兴趣的文章
C/C++笔试题目大全
查看>>
呼叫转移XCAP log的查看
查看>>
JAVA--------抽象类
查看>>
我的友情链接
查看>>
动画状态切换
查看>>
线程同步
查看>>
iPhone 开发过程中的一些小技术的总结
查看>>
android 资料
查看>>
ThreadLocal 那点事儿
查看>>
Spark源码分析调试环境搭建
查看>>
全栈工程师就是一棵歪脖子树
查看>>
对于设计模式最近观感的浅薄理解
查看>>
Spring中AOP使用——配置xml方式
查看>>
JavaScript是如何工作的:深入类和继承内部原理 + Babel和TypeScript 之间转换
查看>>
.net reactor使用教程(一)——界面各功能说明
查看>>
腾讯 AI Lab 正式开源PocketFlow,让深度学习放入手机!
查看>>
教你在Docker上不到2分钟建立一个多模型数据库!
查看>>
网络编程
查看>>
zookeeper选举机制
查看>>
python输入输出语句
查看>>