m2t

command module
v0.0.0-...-364a662 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 6 Imported by: 0

README

M2T

standard-readme compliant Build Status

M2T (aka Magnet To Torrent) is an utility to convert magnet URI into torrent files. It is meant to be used in combination with rTorrent or any other torrent downloader that support a "watch directory" (a directory that is periodically checked for new torrent files which are then automatically downloaded). rTorrent, µtorrent, Transmission do support this feature, among others (you know more? PR please!)

Install

Pretty standard procedure

go get github.com/Donearm/m2t
go install github.com/Donearm/m2t

Usage

M2T accepts only 2 parameters, -t and w. The former is the type of file to download (preset are music, books, vids and others). This is mostly useful to scripting then with your torrent client saving directories, notification messages etc. according to different types of files. So using M2T like

m2t -t vids $long_magnet_link

will save the resulting torrent files inside the watch directory, in a directory named "vids". That's for movies, tv series, video lessons and any files containing audio+video. It's up to you to classify or not the torrent files according to these types or not. If not inserted, it defaults to others.

With w instead you can choose a different watch directory. Yours will be most definitely different than mine so for frequent use, directly change the constant defWatchdir in the source and build M2T again to save the data.

License

MIT © Gianluca Fiore. See LICENSE

ko-fi

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL