我知道-i标志需要一个文件(可能包含URL列表),我知道可以指定-o后跟一个名称来重命名使用wget下载的项目。如何在wget中使用-o标志与-i?
例如:
wget -i list_of_urls.txt
wget -o my_custom_name.mp3 http://example.com/some_file.mp3
我有一个看起来像这样的文件:
文件名:list_of_urls.txt
http://example.com/some_file.mp3 http://example.com/another_file.mp3 http://example.com/yet_another_file.mp3
我想使用wget来下载这些文件与-i标志也保存每个文件1.MP3,2.MP3等。
可以这样做吗?