I'm interested of converting a .torrent binary file into a magnet file.
What are the possibilities to achieve that in Linux/Unix/OSX?
Sample format:
magnet:?xt=urn:btih:adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityI'm interested of converting a .torrent binary file into a magnet file.
What are the possibilities to achieve that in Linux/Unix/OSX?
Sample format:
magnet:?xt=urn:btih:adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
Rather late, but as suggested in the comments, the following produces a magnet link, with no further fiddling necessary:
transmission-show -m yourfiles.torrent
This program is shipped as part of the transmission-cli
package on Debian derivatives, and part of the larger Transmission client.
Of course the .torrent
file must be created beforehand, but that can also be done with a Transmission command, and it doesn't require a tracker (anymore):
transmission-create yourfiles