mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 20:22:31 +00:00
link to parent
+3
-1
@@ -1,3 +1,5 @@
|
||||
:arrow_left: Back to [[Commands Reference|Scripting-Guide#commands-reference]]
|
||||
|
||||
**TODO** clean this up, for now collect snippets
|
||||
|
||||
There are the `if` and `branch` commands to implement conditional execution of other commands. The difference is that `if` takes argument expressions, while `branch` takes a command list and then does its own evaluation.
|
||||
@@ -11,4 +13,4 @@ method.insert = d.data_path, simple,\
|
||||
"if=(d.is_multi_file),\
|
||||
(cat, (d.directory), /),\
|
||||
(cat, (d.directory), /, (d.name))"
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user