Firefox 插件 FlashGot 创建 Axel 下载任务

运行脚本:

#!/bin/sh
# FlashGot Command line arguments template: [URL] [COMMENT] [FOLDER]
if [ $# = 3 ]; then
echo "Make a folder."
mkdir $3/$2
echo "Make a shell task files."
echo "axel -s 20000 -n 1 -a -o $2 $1" > $3/$2/task.sh
chmod +x $3/$2/task.sh
else
echo "Axeltask.sh error. Parameter counts is not 3."
fi

原文地址:https://www.cnblogs.com/spaces/p/3462390.html