You are not logged in.

#1 2010-11-16 11:23:49

clvn
Member
From: Norway
Registered: 2008-08-31
Posts: 20
Website

rTorrent: move downloads to different directories depending on tracker

Hi!

I would like rTorrent to move completed downloads to different directories depending on the trackers in the torrent. An ideal setup for me would be something like this:

torrents/completed/tracker_x
torrents/completed/tracker_y
torrents/completed/tracker_z
torrents/completed/unknown_trackers
torrents/incomplete
torrents/torrent_files
torrents/session_data

Any hints/links/etc for me? I think i can make something work if rTorrent could pass the .torrent file path and downloading directory to a bash script smile

Offline

#2 2010-12-12 23:30:59

tladuke
Member
Registered: 2009-07-23
Posts: 176

Re: rTorrent: move downloads to different directories depending on tracker

very lazily copied out my .rtorrentrc

32 schedule = watch_directory_1,10,10,"load_start=/home/share/media/torrents/foo/*.torrent,d.set_custom1=/home    /share/media/video/foo"                                                                                    
33 schedule = watch_directory_2,10,10,"load_start=/home/share/media/torrents/bar/*.torrent,d.set_custom1=/home/s    hare/media/video/bar" 

39 on_finished = move_complete,"d.set_directory=$d.get_custom1= ;execute=mv,-u,$d.get_base_path=,$d.get_custom1="    

there's also this, but i think it doesn't actually move the files; it makes symlinks.
http://code.google.com/p/pyroscope/wiki … Completion

Last edited by tladuke (2010-12-12 23:31:40)

Offline

Board footer

Powered by FluxBB