方法一:
#!/bin/sh -e
# usage: ./axel-batch.sh the-download-url.list
cat $1 | xargs -l1 axel
-n8 -a
方法二:
#!/bin/sh -e
# usage: ./axel-batch.sh the-download-url.list
cat $1 | while read LINE
do
if [ -n "$LINE" ]; then
axel -n8 -a `echo $LINE`
fi
done
原文出处:
阅读(1940) | 评论(0) | 转发(0) |