Closed tonimelisma closed 2 years ago
That's definitely counterintuitive, not sure if it's intended. In the meantime, if you don't want to have a separate config file, you can work around it with this:
rtorrent -n -o import="~/.rtorrent.rc" -s /home/toni/.rtorrent-session2
For posterity, the default value is an empty string, which disables the persistent session files entirely.
This is intended behavior, if you want to override the config file's sessions parameter, make the config file check if the session directory is set or not.
When supplying a session directory for
rtorrent
on the command line either via-o
,-O
or-s
, rtorrent doesn't respect the parameter and tries to use the default one (probably from .rtorrent.rc if not from compiled default value). It also doesn't respect an empty-s
parameter, implying no session directory as per the man page.I'm trying to run a secondary rtorrent instance. The primary uses
~/.rtorrent-session
.Here's my version: