发布时间:2025-12-09 21:53:12 浏览次数:4
运行脚本:
#!/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