py3createtorrent is a comprehensive shell/commandline utility for creating torrents on Linux. It's a GPL-licensed Python v3.1 script. I tested it with Ubuntu 8.04 / rTorrent and Windows 7 / µTorrent. --- Some of the features: you can add a comment to the torrent file; you can create private torrents (disabled DHT, …); you can create torrents with multiple trackers; you can exclude specific files/folders; you can exclude files/folders based on regular expressions; you can specify custom piece sizes; you can specify custom creation dates. More
2010-08-19