运行脚本:
#!/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