Thursday, November 8, 2007

Using a torrent to download from the command line

i was trying to download the dvd iso images of the debian distro. i downloaded the torrent files to the directory /data/iso/debian using the firefox browser. then i used btlaunchmany to actually download the iso images. i used the following command

btlaunchmany /data/iso/debian --max_upload_rate 5

/data/iso/debian is the directory that contains the torrent files
--max_upload_rate limits the rate at which packets can be uploaded from your machine


i didn't realize it when i started this process, but the bittorrent-downloader man page describes a --url option that downloads the torrent info file.

No comments: