2014-12-01

使用 wget 來下載大的檔案吧

最近在使用 google chrome 或是 firefox 下載一些 ISO 檔時,常會發生錯誤。

其實若是使用 ftp 軟體來下載可能是最佳方式,不過在這提供使用 wget 這個有歷史但很穩的程式來下載像一些 GNU/Linux 發行版本 ISO 檔的方式。

例如最近 Linux Mint 發表了 17.1 版,若想要下載 Linux Mint 17.1 Cinnamon 版本,若下載網址是如下:
http://ftp.stust.edu.tw/pub/Linux/LinuxMint/isos//stable/17.1/linuxmint-17.1-cinnamon-64bit.iso

我們只要打開終端機,輸入以下指令:

wget -c http://ftp.stust.edu.tw/pub/Linux/LinuxMint/isos//stable/17.1/linuxmint-17.1-cinnamon-64bit.iso

-c 這個參考是 continue,也就是在下載過程中,若有錯誤,wget 會自動重啟下載,這樣就方便多了。

wget 的詳細用法,請自行 man wget。




沒有留言 :

張貼留言