Skip to content

fuchsi/maketorrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maketorrent

A Bittorrent meta file generator

Usage

USAGE:
    maketorrent [OPTIONS] <source directory or filename> --announce <url>

OPTIONS:
    -a, --announce <url>       Announce URL.
    -c, --comment <comment>    Add a comment to the Torrent file.
    -h, --help                 Prints help information
    -n, --name <name>          Set the name of the Torrent file.[default: basename of the target]
    -d, --no-date              Don't write the creation date.
    -o, --output <filename>    Set the path and filename of the Torrent file.[default: <name>.torrent]
    -l, --piece-length <n>     Set the piece length to 2^n Bytes. [default: auto]
    -p, --private              Set the private flag.
    -s, --source               Add a source string embedded in infohash.
    -t, --threads              Number of threads to use for hashing.[default: number of logical cores]
    -V, --version              Prints version information
    -v, --verbose              Explain what is being done.

ARGS:
    <source directory or filename>

Installation

cargo install maketorrent

or

git clone https://gitlab.com/dfuchsi/maketorrent.git
cd maketorrent
cargo install