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

  • 相关阅读:
    0Day – 2011.1.20[From B4A]
    0Day – 2011.1.16[From B4A]
    ubuntu 桌面下方的面板(任务栏)恢复方法
    Delphi WebBrowser用法几则浅谈
    0Day – 2011.1.3[From B4A]
    0Day – 2011.1.8[From B4A]
    0Day – 2011.1.6[From B4A]
    0Day – 2011.1.10[From B4A]
    0Day – 2011.01.21[From B4A]
    0Day – 2011.1.7[From B4A]
  • 原文地址:https://www.cnblogs.com/gaoyuechen/p/7928439.html
Copyright © 2020-2023  润新知