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]
存在遠程文件且該文件可能含有更深層的鏈接,
但不能進行遞歸操作 -- 無法獲取。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM