Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm aware of mktorrent, and know how to use it, but for testing purposes I require a utility that will also include the MD5 hash of every file in the torrent in the torrent meta info. I realize that the MD5 hash for each file isn't typically used with most modern torrent apps and is superfluous, but I'm hoping there's a utility out there I missed that supports this.

Any suggestions?

share|improve this question
up vote 5 down vote accepted

You can use this one : http://www.robertnitsch.de/projects:py3createtorrent

But you need to have python installed for this one .

"py3createtorrent is a comprehensive shell/commandline utility for creating torrents (Linux & Windows). It's a GPL-licensed Python v3.1 script. I tested it with Ubuntu 8.04 / rTorrent and Windows 7 / µTorrent."

share|improve this answer
John, if you think this reply answers your question, accept it(give a tick mark on the bottom of the question), otherwise leave a comment stating why it is not helping you . – The Dark Knight Sep 27 '12 at 8:11
Sorry for the delay in accepting, had a busy evening and didn't get a chance to check back in. Yup this is perfect, thank you -- it needn't be pretty, just need some test data. Would've preferred a Python 2 version but that's a minor issue. Thanks again! – John Carter Sep 27 '12 at 16:21
you are welcome mate . – The Dark Knight Sep 27 '12 at 18:39
FYI: As of py3createtorrent 0.9.5 the MD5 hashes need to be requested explicitly by providing the --md5 switch. This makes the torrent creation much faster in the default case. (bitbucket.org/rsnitsch/py3createtorrent/commits/…) – robert May 14 '13 at 17:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.