linuxコマンドラインマルチスレッドダウンロードツールMyget

1778 ワード

リモートサーバーから100 Gのファイルを引っ張りたいので、昨日はftpを使って引っ張りましたが、うっかり電源を切ってしまい、半分引いてしまいました。今日はマルチスレッドのダウンロードツールがあるかどうか、探してみましたが、Mygetはやはりとても使いやすいツールです。
 
http://myget.sourceforge.net
 
ダウンロード完了後
 
tar -xzvf myget-0.1.2.tar.gz
./configuare
/make&&make install
 
使用は簡単です。助けは以下の通りです。
mytget -n 10 ftp://user:[email protected]/game.rar

             ftp  
 
Mytget 0.1.1: A download accelerator for GNU/Linux
Usage: mytget [options]... [URL]...
Options:
  -b,  --debug          Show the debug message
  -c,  --count=num      Set the retry count to [num], no limit when "0", the default is "99"
  -d,  --directory=dir  Set the local direcotry to [dir], the default is "."
  -f,  --file=file      Rename the file to [file]
  -h,  --help           A brief summary of all the options
  -i,  --interval=num   Set the ftp retry interval to [num] seconds, the default is "5"
  -n,  --number=num     Use [num] connections instead of the default (4)
  -r,  --referer=URL    Include `Referer: [URL]' header in HTTP request.
  -t,  --timeout=num    Set the connection timeout to [num] seconds, the default is "30"
  -v,  --version        Show the version of the myget and exit
  -x,  --proxy=URL      Set the proxy [URL]
 5スレッドを使ってhttpファイルをダウンロードする例:
 
mytget - n 5 http://dl_dir.qq.com/shut.exe
 
 なお、使用はmtget、ftpダウンロードの例である。
 
mytget-n 5 ftp://user:[email protected]/game.rar