9

I use transmission-daemon on Debian for my torrents.

For now, I've been using the website http://torrenteditor.com/ to add trackers to .torrent files.

I'd like to edit .torrent files directly using Linux command line, and change the associated tracker easily (or add one, if possible).

Is it possible?

bolino
  • 237
  • 2
  • 4
  • 10

1 Answers1

12

You can edit the torrent files themselves using transmission-edit. Supposedly transmission-edit -a udp://tracker my.torrent should work.

If you have already added the torrent file to transmission, you can use transmission-remote to update it, e.g. transmission-remote -n 'user:pass' --torrent 10 --tracker-add 'udp://tracker.url:1337/announce'

pts
  • 7,200
  • 10
  • 38
  • 49
Frederick Nord
  • 254
  • 2
  • 7
  • Thanks a lot! I was about to think it was impossible. Can I ask why it is "transmission-remote" and not "transmission-cli" or "transmission-daemon", though? – bolino Jul 04 '17 at 12:57
  • 2
    sorry for the confusion. You said that you are running the daemon already. In order to interact with that already running daemon, you are supposed to use `transmission-remote`. `transmission-cli` is a full blown torrent program itself, i.e. the daemon with a frontend. One frontend for the `transmission-daemon` is the `transmission-remote` program. – Frederick Nord Jul 06 '17 at 22:02
  • Can one do this with text editor? – Alex Nov 01 '21 at 05:56