Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

http://community.rutorrent.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.

The same is true for https://github.com/rakshasa/rtorrent/wiki/Scripting-Guide.

share|improve this answer
    
Here's a link to a more up to date (and accessible) wiki page: github.com/rakshasa/rtorrent/wiki/User-Guide – Pierz Sep 8 '15 at 10:42

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .