aria2下载配置文件及可用bt地址trackers列表

  • aria2下载配置文件及可用bt地址trackers列表已关闭评论
  • 114 views
  • A+
所属分类:软件·服务器

下面的shell脚本执行后,会在/root/.aria2目录下下载aria2配置文件及trackers列表,配置文件里面是中文注释

#!/usr/bin/
wget --no-check-certificate -P /root/.aria2 -N "https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/other/Aria2/aria2.conf"
wget --no-check-certificate -P /root/.aria2  -N "https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/other/Aria2/dht.dat"	
wget -qO- https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt |awk NF|sed ":a;N;s/\n/,/g;ta" > /root/.aria2/bt.txt