BUILDTORRENT(1)
β¨ NAME β¨
okay so bestie, welcome to the buildtorrent(1) manual page β user commands edition, the whole vibe π
and what is it? it's buildtorrent β a torrent file creation program. that's it, that's the girl π
π¦ SYNOPSIS π¦
like, the actual way you invoke her:
buildtorrent [OPTIONS] input output
buildtorrent [OPTIONS] -f filelist -n name output
two whole moods. pick your fighter π
πΈ DESCRIPTION πΈ
so buildtorrent is a torrent file creation program. give her the right options plus an input file or an input directory, and she generates an output .torrent file that your torrent clients can actually use. it's giving factory, it's giving girlboss, it's giving "i make torrents and i make them correctly" β¨
π OPTIONS π
every single one, no gatekeeping, no skips:
-aannounce,--announce=urlβ the announce URL. lowkey optional!! you can leave it out entirely for trackerless torrents (BEP-5). queen of independence π-ffilelist,--filelist=filelistβ a text file (or-for standard input, yes she eats from stdin like a snack π) that holds a list of files to add to the output torrent file, together with the path to use inside the torrent. one file per line, use/as the path separator for the torrent path, and use|to separate the filesystem path from the torrent path. backslash\can be used to escape newlines and|characters inside names. for example:
/data/files/linux.iso|bin/linux.iso
/data/files/linux.txt|doc/linux.txt
bestie if you use this option you have to use the --name option too. not optional. no cap. π«Ά
-nname,--name=nameβ specify the name for the torrent. using this is required when the--filelistoption is used, and in that case it specifies the name of the torrent directory. used without a file list, it overrides the name of the directory or file given on the command line. main character behavior honestly π-Aannounces,--announcelist=announcesβ additional announce URL list (BEP-12). use,to separate the outer level lists, and|to separate the inner level items. for example:
a,b1|b2,c
-Nnodes,--nodes=nodesβ DHT nodes list (for trackerless torrents) (BEP-5). use,to separate items, and|to separate host from port. for example:
>RS 127.0.0.1|6881,example.com|1337
(yes, copy it character for character, that's literally what it says π)
-wwebseeds,--webseeds=webseedsβ additional WebSeed URL list (BEP-19). use,to separate items. for example:
a,b,c
-llength,--piecelength=lengthβ piece length in bytes. the default is262144β¨-Llength,--piecesize=sizeβ use 2^size as the piece length. default is18. heads up, this one overrides-lπ-ccomment,--comment=commentβ user comment. omitted by default, so say something nice if you want π-pprivate,--private=privateβ private flag, and it's either0or1, no in-between (BEP-27). binary, like her opinions π-dtimestamp,--date=timestampβ override the creation date field with a UNIX timestamp (that's the number of seconds since the 1970 epoch, iykyk).-D,--nodateβ omit the creation date field entirely. she's mysterious now π-bcreator,--createdby=creatorβ override the created by field.-B,--nocreatedbyβ omit the created by field entirely. anonymous icon behavior π-m,--md5sumβ add an md5sum field for each file. thorough queen β-ssortorder,--sort=sortorderβ filename sorting method (only when in filesystem directory mode, bestie). pick any one ofUnsorted,Alpha,Version(when available).-M,--magnetβ show a magnet link for the generated torrent file π§² (yes the man page really writes it with no space there, we respect the original)-q,--quietβ quiet operation with reduced output. shhh π€«-v,--verboseβ verbose operation with increased output. and you can use it multiple times for more verbosity, so go off, stack them π-V,--versionβ show the version string.-h,--helpβ show a help screen with brief usage information. everyone's favorite π«Ά
π NOTES π
some lore, some housekeeping:
- the previous
-sand-Soptions have been removed β use-vand-vvinstead. - the previous
-Coption has been removed β use-Binstead.
like they're gone gone. don't come for them π
π AUTHORS π
Claude Heiland-Allen (claude@mathr.co.uk) β the actual author, the legend, the one who built the whole thing π
π₯ SEE ALSO π₯
go read these too, bestie:
createtorrent(1)mktorrent(1)http://wiki.theory.org/BitTorrentSpecificationhttp://bittorrent.org/beps/bep_0005.htmlhttp://bittorrent.org/beps/bep_0012.htmlhttp://bittorrent.org/beps/bep_0019.htmlhttp://bittorrent.org/beps/bep_0027.html
and that's the whole page, babe π¦ this was version 0.9.1 from August 2024, and honestly? iconic. slay, go build a torrent πβ¨π
π¦ where this page comes from
- debian trixie: buildtorrent 0.9.1-1 Β· GPL-2.0-or-later
- ubuntu questing: buildtorrent 0.9.1-1
- ubuntu resolute: buildtorrent 0.9.1-4 Β· GPL-2.0-or-later
- ubuntu stonking: buildtorrent 0.9.1-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms