You are not logged in.

#1 2011-11-10 15:58:22

expirobo
Member
Registered: 2011-11-10
Posts: 1

Move torrent based on label to subdir

I am trying to move torrents added via the ".rtorrent action" to a subdir based on the label given:

Say I set the download directory to "/path/rtorrent/data" and label it "tv"
I want the download to complete in the "data" directory and move to the "/path/rtorrent/data/tv" directory after finishing to eliminate my rsync from downloading an unfinished torrent.

So far I have this, but it seems to error out:

system.method.insert=movedir1,simple,"d.set_custom2= $cat=~/private/rtorrent/data/\,$d.get_label=;execute=mv,-u,$d.get_base_path=,$d.get_custom2=;d.stop=;d.start="
system.method.set_key=event.download.finished,move_finished1,"branch={movedir1=}"

I know $d.get_label is not a valid variable, but I have tried $d.get_custom1 and no success. Any ideas? I have worked on this for hours.


I do know that I can set watch directories and have things moved based on which watch dir, but I cannot upload torrents via ruTorrent manually without problems when I do that.
Thanks!

Last edited by expirobo (2011-11-10 16:02:24)

Offline

Board footer

Powered by FluxBB