Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running torrents on the home server, and I talk to home server via the transmission-remote utility. I'd like to retrieve the magnet link for one of my torrents, however this seems to be impossible, as the transmission-remote -t[torrent-id] -i doesn't give me the link, and the manual also says nothing. Is there any way to get a magnet link?

share|improve this question
up vote 4 down vote accepted

May have bean patched since the question was asked, but running

transmission-remote -l -t 13 -i | grep magnet

worked for me, got the magnet link for torrent number 13.

If you want only the link, you can sed away the title:

transmission-remote -l -t 13 -i | grep magnet | sed -e "s/^ *Magnet: //"

You may need to add a parameter --auth <username>:<password> for authentication.

share|improve this answer
    
In my version of transmission it doesn't work, but it's outdated, so I'll have to just believe you ) Thanks for the solution ) – Septagram Apr 10 '14 at 12:07
    
Running 0.8.5 (from gentoo net-p2p/bitcoind-0.8.5:0) – Puggan Se Apr 10 '14 at 12:20

This worked for me :

transmission-remote -a magnet:?xt=urn...[magnet_link_here]...
share|improve this answer
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review – Abraxas Apr 3 at 17:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.