Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

rtorrent's web site has this example of a configuration rule to move a completed torrent:

system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,~/Download/;d.set_directory=~/Download/"

Is the format of this command documented anywhere? I cannot find what $d.get_base_path means anywhere, or why it's $d in one spot and just d in another spot, for example.

share|improve this question

2 Answers 2

http://wiki.rtorrent.org/RtorrentScripting would be what you're looking for, if more people contributed what they know. As of now, it has a few hints collected from the mailing list and other places, and is incomplete.

share|improve this answer

One is a variable and one is setting a variable.

$d.get_base_path= is a variable that has a value that is being called.

d.set_directory=~/Download/ is having a value assigned to it.

Now as to what the $d.get_base_path= means, got to your ncurses interface look around your info on your running torrents until you find the base path.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.