Wget下载多个链接

需要wget下载多个文件链接时,可以采用如下方法:

1. 将链接存入文件url.list中;

2. wget -bc -i url.list -o [log_file] -P [target_dir]

其中,

-b  backgournd,即后台下载;

-c  continues,继续下载尚未完成的任务,即如果当前目录下有下载过的某些文件,便不再下载这些文件;

-i  inputfile,输入url的文件

-o  output,将打印内容输出到文件

-P  prefix,即指定的下载目录

3. 可以用 tail -f [log_file]来查看下载的进度

原文地址:https://www.cnblogs.com/beanocean/p/3822542.html