all*_*skd 41 command-line bittorrent
我正在使用 mktorrent,但我遇到了问题,因为它出于某种奇怪的原因没有对目录中的文件进行哈希处理...
我正在寻找专门用于命令行的替代品
小智 38
怎么样ctorrent
?
sudo apt-get install ctorrent
ctorrent -t -u "http://tracker.example.com:6969/announce" -s example.torrent file_or_dir_to_upload
Run Code Online (Sandbox Code Playgroud)
小智 29
传输可以做到:
$ ./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
-c --comment <comment> Add a comment
-t --tracker <url> Add a tracker's announce URL
-V --version Show version number and exit
Run Code Online (Sandbox Code Playgroud)
一个例子可能是:
transmission-create -o /var/lib/transmission-daemon/downloads/files.torrent -c "My comments" -t udp://tracker.openbittorrent.com:80 ~/torrent/complete/my_file_or_directory_to_share.extension
您可以在此处找到更多文档