赞
踩
1.新建download.sh
#!/bin/bash
while read url; do
curl -O "$url"
done < urls.txt
其中,urls.txt 是包含要下载的链接地址。
格式:
http://example.com/file1.txt
http://example.com/file2.txt
http://example.com/file3.txt
2.授予可执行权限
chmod +x download.sh
3.执行命令
./download.sh
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。