sudo apt-get install bittornado mkdir ~/.bttrack mkdir ~/btfiles bttrack --port 6969 --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full --allowed_dir $HOME/btfiles --parse_dir_interval 10 --allow_get 1 firefox http://localhost:6969
mkdir /torrent sudo cp /etc/init.d/skeleton /etc/init.d/bttrack vim /etc/init.d/bttrack
DESC="BitTorrent protocol tracker" NAME="bttrack" DAEMON_ARGS="--dfile /var/run/bttrack/dstate --logfile /var/log/bttrack.log --port 6969 --nat_check 0 --scrape_allowed full --allowed_dir /torrent/btfiles"
sudo apt-get install bittornado btmakemetafile http://localhost:6969/announce SOURCE_File/Folder --target OUTPUT.torrent
Optional argument: --piece_size_pow2 SIZE
This work is licensed under the CC By-SA 3.0 , without all the cruft that would otherwise be put at the bottom of the page.
Sister Sites: GATE CSE Wiki, GATE CSE, Aptitude Overflow