Have rTorrent to move .torrent files
Posted
by
David Alvares
on Super User
See other posts from Super User
or by David Alvares
Published on 2012-06-20T01:12:32Z
Indexed on
2012/06/20
3:18 UTC
Read the original article
Hit count: 518
I am running rTorrent 0.9.2 and have configured it to move completed torrents to a different folder with this configuration line:
system.method.set_key = event.download.finished,move_complete,"d.set_directory=~/done/;execute=mv,-u,$d.get_base_path=,~/done/"
This is working fine, but I would like it to also move the .torrent file that it creates (from a magnet link into the session directory) into this done directory with the same name as the torrent and a .torrent extension. I tried adding another cp command, but I can not seem to figure out which variable ($d.get_hash did not work) stores the torrent's hash (which is what the .torrent files are named in the session directory). Is there a way to do this with rTorrent, if so how?
© Super User or respective owner