在 Linux 上安装 transmission 后,会附带一个 transmission-create 可以制作种子。

查看 transmission-create 使用方法

[user@nas TDDOWNLOAD]$ transmission-create --help
Usage: transmission-create [options] <file|directory>

Options:
 -h --help                    Display this help page and exit
 -p --private                 Allow this torrent to only be used with the
                              specified tracker(s)
 -o --outfile   <file>        Save the generated .torrent to this filename
 -s --piecesize <size in KiB> Set how many KiB each piece should be, overriding
                              the preferred default
 -c --comment   <comment>     Add a comment
 -t --tracker   <url>         Add a tracker's announce URL
 -V --version                 Show version number and exit

制作一个种子

-p 表示是个私有种子,只有通过 -t 指定的 tracker announce URL 才可以下载,-o 指定种子生成后保存在哪,最后跟要制作种子的资源文件路径。

[user@nas TDDOWNLOAD]$ transmission-create -p -t http://tthd.org/announce.php -o Intouchables.2011.BluRay.1080p.DTS.x264-CHD.torrent Intouchables.2011.BluRay.1080p.DTS.x264-CHD/
Creating torrent "Intouchables.2011.BluRay.1080p.DTS.x264-CHD.torrent" .................... done!

将种子使用 sz 下载到本地

安装 lrzsz 后可以使用 sz 将文件传到本地。

[user@nas TDDOWNLOAD]$ sz Intouchables.2011.BluRay.1080p.DTS.x264-CHD.torrent