Repository navigation
|
Hello, I'm trying to create a rule in my .rtorrent.rc for hardlinking torrents to a certain directory on download completion depending on the label (in this case "anime"). This is what I've got so far, but this doesn't work. I get the following error Secondly, the documentation for execute2 doesn't currently include any examples of the (execute2, ...) syntax. Am I using it correctly? Thanks in advance! |
Replies: 2 comments 5 replies
|
Those are both interpreted as commands. |
|
Thank you, that fixed the equals line I believe. When a torrent with the anime label finished now, I get no error in rtorrent. Sadly, the hardlink wasn't created either. Either the branch didn't execute, or something is failing with the execute2 / cp -al command. I checked the logs, but all I can see related to this event is the finishing event: I've made sure permissions are correct on the folders (same as rtorrent user) with read and write access. I've double checked my label exactly matches Current rtorrent.rc block: |
That worked amazingly, thank you! And thanks for the syntax explanation, all the brackets make a bit more sense to me now.
For future reference, the rule I ended up with is: