CreateTorrent -

Create BitTorrent files from the command line

CreateTorrent is a small and fast command line utility for all Linux and Unix operating systems to create BitTorrent files easily. BitTorrent files can be created from either one file or a collection of files that are grouped together into a directory.

Download
To download the latest version click on the link here: createtorrent-1.1.4.tar.gz (2007/02/23) (Changelog)

Older versions
createtorrent-1.1.3.tar.gz
createtorrent-1.1.2.tar.gz
createtorrent-1.1.1.tar.gz
createtorrent-1.1.0.tar.gz

To install CreateTorrent you have to untar the source package first. This will create a directory with the name createtorrent-1.1.4. Change into this directory and run ./configure to configure the compile options. If configure returns successfully, the next step is to compile the sources by typing the command make. When also make returns successfully, createtorrent can be installed by typing make install. This will install createtorrent in the default directory /usr/local. You can also set another installation directory by calling configure with the option --prefix=/foo/bar.

Summary of the installation process:
1. tar xzf createtorrent-version.tar.gz
2. cd createtorrent-version
3. ./configure [--prefix=...]
4. make
5. make install

Usage of createtorrent 1.1.4: To create bittorrent files, createtorrent can be called with several options. Most of these options are optional. The simplest way to create bittorrent files is to call createtorrent as follows:

createtorrent [OPTIONS] -a announce inputfile/directory output

This will create a bittorrent file from the given inputfile or the files of the given directory with the announce url announce:6881/announce. The output is written to the file output. The following additional options exist:
--announce-aannounceurlsets the announce url
--port-pportsets the port of the tracker, default: 6881
--path-tpathsets the path on the server, default: /announce
--piecelength-lpiecelensets the piece length in bytes, default: 262144
--comment-ccommentadds an optional comment to the torrent file
--version-v version of createtorrent
--help-h this help screen

On success createtorrent returns with the exit code 0, otherwise 1.

For further information, bug reports or feature requests you can contact the Author Daniel Etzold at .

What is a BitTorrent file?

First, the BitTorrent protocol is a new protocol to distribute files, especially very big files. So, it is some kind of filesharing protocol but not really a peer-to-peer protocol like the file sharing protocols Gnutella, eDonkey or Kazza. To download files over the BitTorrent protocol a server must exists that runs a tracker. A tracker is responsible for the downloads and manages them. A user who runs a BitTorrent client connects to this tracker and announces which parts of the file the user allready has downloaded and which parts are missing. The tracker responses with a list of peers which allready downloaded the pieces and which should be contacted by the client to get the remaining pieces. The tracker url and the list of files are stored in a bittorrent file. Thererfore, this file is also called a metainfo file. With CreateTorrent your are able to create these files.

For details about the BitTorrent protocol have a look at http://bitconjurer.org/BitTorrent/ the official BitTorrent web site.

BitTorrent search

To search BitTorrent files in the internet some BitTorrent search engines exist. One of those search enginges that automatically crawls the web for bittorrent files is the BTbot - BitTorrent Search Engine.

Changelog

1.1.4
  • bugfix when creating torrents from directories (Andreas Fink)
  • fixed invalid format string (Aleksey Sokolov)
1.1.3
  • small bugfix parsing arguments
1.1.2
  • fixed crash for directories without read permissions
  • bugfixes by Jan-Marek Glogowski
    • sort dictionary fields as required by spec
    • correctly parse 'P' option
    • correctly set sha length
1.1.1
  • support files larger than 4GB (Peter Van Biesen)
  • fixed bug for inheritated directories (Oleg V. Smirnov)
  • reordered variable declarations
1.1.0
  • command line options are more canonical (patch by Jari)
  • add subdirectories (patch by anonymous)
Cite: The Effect of File Sharing on Record Sales An Empirical Analysis Abstract: A longstanding economic question is the appropriate level of protection for intellectual property. The Internet has drastically lowered the cost of copying information goods and provides a natural crucible to assess the implications of reduced protection. We consider the specific case of file sharing and its effect on the legal sales of music. A dataset containing 0.01% of the worldâ??s downloads is matched to U.S. sales data for a large number of albums. To establish causality, downloads are instrumented using technical features related to file sharing, such as network congestion or song length, as well as international school holidays. Downloads have an effect on sales which is statistically indistinguishable from zero, despite rather precise estimates. Moreover, these estimates are of moderate economic significance and are inconsistent with claims that file sharing is the primary reason for the recent decline in music sales. I. Introduction File sharing has become one of the most common on-line activities. File sharing occurs in networks which allow individuals to share, search for, and download files from one another. A key property of these networks is that sharing files is largely non-rivalrous because the original owner retains his copy of a downloaded file. This makes the cost of sharing quite low. Moreover, there are network externalities, since more individuals imply a greater selection of files. These features fueled the dramatic growth of file sharing, particularly of copyrighted music recordings. While few participated in file sharing prior to 1999 (the founding year of the now defunct Napster), there were more than three million simultaneous users sharing over a half a billion files on the most popular network (FastTrack/KaZaA) in 2003. Each week there are more than one billion downloads of music files alone. Participation in file sharing has also grown. Over 60 million Americans above the age of twelve have downloaded music (Ipsos-Reid, 2002b). File sharing is heavily skewed to youth. While a majority of Americans under eighteen have downloaded and half of those are heavy users, only a fifth of those aged 35-44 have downloaded files (Edison Media Research, 2003). Among U.S. adults at least eighteen years old, the number of down- loaders has about doubled since 2000 (Pew Internet Project, 2000 and 2003). Because physical distance is largely irrelevant in file sharing, individuals from virtually every country in the world participate. [...]
bittorrent portal, bittorrent protocol, bittorrent clients, windows client, linux client, bittorrent console client, how to create a bittorrent file, bittorrent meta file, file sharing, mp3, warez, bittorrent sharing, share files with bittorrent, bittorrent protocol is open and free for use, bittorrent file sharing, bittorrent is different to kazza or edonkey or other file sharing protocol like the gnutella file sharing protocol. For the file sharing protocol Gnutella there exists many clients, e.g. limewire (java), qtella for linux, gtk-gnutella for linux, mp3, music download, free music, source code of shareraza is now available, limewire is a java gnutella client and due to the nature of java rather slow, for sharing files linux and unix users should use the qt gnutella client qtella