在 rtorrent 完成时运行脚本

Cla*_*bel 5 unix bittorrent rtorrent

如何让 rtorrent 在完成下载 torrent 后运行脚本,并将 torrent 文件夹的完整路径作为参数?

Cla*_*bel 5

找到答案:

system.method.set_key = event.download.finished,some_name_for_this_command,"execute=/path/to/script.sh,$d.get_name="
Run Code Online (Sandbox Code Playgroud)