All pastes #790994 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-20 18:16 UTC
rendered paste body
# Watch a directory for new torrents, restart torrents that have been
# copied back and stop those that have been deleted.
schedule = watch_directory,5,5,load_start=~/rtorrent/@watch/*.torrent
schedule = tied_directory,5,5,start_tied=
schedule = untied_directory,5,5,close_untied=

# Create symlinks in the watch directory with a suffix indicating the
# download state.
on_start    = link1,"create_link=base_filename,~/rtorrent_out/,.started"
on_start    = link2,"delete_link=base_filename,~/rtorrent_out/,.stoped"
on_stop     = link1,"delete_link=base_filename,~/rtorrent_out/,.started"
on_stop     = link2,"create_link=base_filename,~/rtorrent_out/,.stoped"
on_finished = link1,"create_link=base_filename,~/rtorrent_out/,.finished"