mathr / blog / #

buildtorrent-0.4 released

Previously buildtorrent would only work on files and directories in the current directory, and moreover would generate bad .torrent files if you gave a directory name with a trailing '/'. These bugs have now been fixed. Some tests (all should work and generate good .torrent files):

buildtorrent -a http://www.example.com/announce directory output.torrent
buildtorrent -a http://www.example.com/announce directory/ output.torrent
buildtorrent -a http://www.example.com/announce /path/to/directory output.torrent
buildtorrent -a http://www.example.com/announce /path/to/directory/ output.torrent
buildtorrent -a http://www.example.com/announce file output.torrent
buildtorrent -a http://www.example.com/announce /path/to/file output.torrent

Check out the current development sources from the Subversion repository:

svn co https://code.goto10.org/svn/maximus/buildtorrent buildtorrent