85

ページには、ダウンロードしたい一連の.zipファイルへのリンクが含まれています。これはwgetとcurlで実行できることを私は知っています。それはどのように行われますか?

4

3 に答える 3

135

コマンドは次のとおりです。

wget -r -np -l 1 -A zip http://example.com/download/

オプションの意味:

-r,  --recursive          specify recursive download.
-np, --no-parent          don't ascend to the parent directory.
-l,  --level=NUMBER       maximum recursion depth (inf or 0 for infinite).
-A,  --accept=LIST        comma-separated list of accepted extensions.
于 2012-11-26T22:12:50.677 に答える