对于本页面的脚本,均为我本人为了方便开发,存储于本人服务器内。不定期可能进行改动,如果你需要修改请自行下载。

对于大部分脚本你都需要打开qbittorrent设置中的本机免验证

自动删除【站点删种】

检测并且删除那些已经被站点删除的无效种子,适用于qbittorrent。可用于seedbox或者任何带有终端控制台的NAS等设备。

用法: ./check_deleted_torrents.sh -p <端口号> [-d]

-p <端口号> 指定 qBittorrent Web UI 端口

-d 删除模式(不指定则仅显示)

curl -fsSL https://lyragame.cloud/sh/check_deleted_torrents.sh -o check_deleted_torrents.sh && chmod +x check_deleted_torrents.sh && ./check_deleted_torrents.sh -d

效果展示:

清理多余文件

某些情况下载器可能会丢失文件,或者删种之后文件仍然存在。使用此脚本检测并删除多余文件。

用法: ./clean_v2.sh -p <端口> [-t] [-d <下载目录>] [-l]

-p 指定 qBittorrent WebUI 端口

-t 启用调试模式(不会删除文件)

-d 指定下载目录(默认:)

-l 只列出残留文件路径

curl -fsSL https://lyragame.cloud/sh/clean_v2.sh -o clean_v2.sh && chmod +x clean_v2.sh && ./clean_v2.sh -p 8080 -d /home/q7nana/qbittorrent/Downloads

效果展示:

清理重复做种/下载

清理站点提示你已经在其他设备做种/下载,一次只能从一个地方做种/下载的种子

用法: ./check_duplicate_torrents.sh -p <端口号> [-d]

-p <端口号> 指定 qBittorrent Web UI 端口

-d 删除模式(不指定则仅显示)

curl -fsSL https://lyragame.cloud/sh/check_duplicate_torrents.sh -o check_duplicate_torrents.sh && chmod +x check_duplicate_torrents.sh && ./check_duplicate_torrents.sh

效果展示: