wget是linux gun工具鏈中的一個,用以接受網絡文件(HTTP、FTP)
官網:http://gnuwin32.sourceforge.net/packages/wget.htm
windows版安裝文件可以從SourceForge下載:https://sourceforge.net/projects/gnuwin32/files/wget/1.11.4-1/,下載其中 wget-1.11.4-1-setup.exe
假設我這邊需要下載maya2009的在線幫助
wget -c -r -np -k -L -p -nc http://download.autodesk.com/us/maya/2009help/index.html
參數說明:
-c:繼續執行上次終端的任務
-L:僅順着關聯的連接
-r:遞歸下載方式
-nc:文件存在時,下載文件不覆蓋原有文件
-np:不查詢父目錄
-p:下載頁面所需所有資源,如圖片、聲音等
-k:將下載內容中的鏈接轉換爲本地連接