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

  • 相关阅读:
    2013dgtcs 成绩排序
    JZOJ 1286. 太空电梯
    java单例模式Singleton
    设计模式的类型
    java工厂模式Factory
    Mysql SQL优化
    maven deploy命令打包到私服
    debian/linux 配置maven
    Java RC4加密解密工具
    JedisUtils
  • 原文地址:https://www.cnblogs.com/gaoyuechen/p/7928439.html
Copyright © 2020-2023  润新知