rtorrent批量添加magnetlink

2015-06-13 0 676
rtorrent批量添加magnetlink
#!/bin/bash
cnt=1
cd /home/gyx/watch || exit    # set your watch directory here
cat 1.txt|while read i 
do
[[ "$i" =~ xt=urn:btih:([^&/]+) ]] || exit
echo "d10:magnet-uri${#i}:${i}e" > "${cnt}.torrent" # name .torrent file by variable cnt
cnt=$[cnt+1]
done

遇见资源网 shell rtorrent批量添加magnetlink http://www.ox520.com/17030.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务