Syncing transmission-gtk with transmission-daemon?
I want to migrate from the GTK client to transmission-remote-cli, but I don't want to manually re-add all torrents; and I would prefer any new torrents I add to be seen from both clients. Any ideas how to achieve this?
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- 3mp18f
9 comments
Transmission daemon runs in /var/lib/transmission/.config/transmission-daemon by default, could you copy the session and relevant stats/settings over?
Yes you can, or you can modify the .service file to read the config from wherever (I believe -g). Just make sure the config is owned by the user transmissions daemon runs as, and that it's in a place it can access.
You may have trouble with torrent data being unavailable, but you can just "move" the files in transmission to where they actually are, and it should rescan them.
I did this about a week ago moving transmission from OpenWRT to Debian, but it should be the same here.
Cool. Okay wait, so ~/.config and ~/.local are normally the places for overrides to /etc and /usr, but now the .config/ bit is a default config mirrored somewhere in their dir in the /var tree. What the fuck
But thanks for the pointer, that's precisely what I was looking for. Be back with what I find in a bit.
Well the service file for transmission daemon assumes it runs as the transmission user so it's not that it's mirrored somewhere else, it's using a different user's config location.
Just took a look at the wiki on my lunch, you can set the daemon to run as your user by putting a config file in the /etc systems folders.
https://wiki.archlinux.org/index.php/Transmission#Configuring_the_daemon
While you can point both programs to the same config/data, I would recommend not running them both at the same time. They're not designed for that (for example, it overwrites the config file on exit), so you'd probably end up corrupting the database.
Good point. I wasn't planning to, I would probably start one of them manually at some point after boot and use it for the rest of the session. For purposes such as to let my woman download stuff on my laptop without ncurses being involved (-;
There is a transmission-remote-gui (even available for Windows!) that might be the best of both worlds here. I believe it's in the AUR.
The configuration directories for them are
~/.config/transmissionand~/.config/transmission-daemon. It should be fine if you just move over the directory or symlink it. Personally I just symlinkedresumeandtorrentsdirectories from the daemon to transmission and that was enough.Btw, there is a web-based GUI for transmission-daemon. You can find it at
localhost:9091by default. You can even install some skins for it, there are a few.