I’m on a mission to gather a massive 100,000 hours of voice data for training an advanced AI. But here’s a problem – grabbing just the voice part from the internet is tricky. So, I got a plan: why not download a bunch of movies and shows and then extract the voice data? That’s where BitTorrent comes into play – a powerful method for sharing files. Now, normally people click buttons in a bit torrent client to get files, but with a colossal 40,000 movies on the agenda, that’s just too slow. That’s why I opted for a more technical approach using bit torrent in the command line. It’s like giving the computer direct instructions to efficiently fetch all those movies for me.

I invest hours searching for the perfect command-line BitTorrent client. The savvy internet users point me to “Transmission CLI.” It even has an official user guide, but it only explains things for Mac users. Now, I’m a CentOS user, and as luck would have it, Transmission is the go-to BitTorrent client in many Linux distributions. The game-changer here is “transmission-cli,” and finding it in most official repositories makes it a significant deal. Ready for the tech talk? Here’s the step-by-step guide to installing “transmission-cli” on CentOS.

Install Transmission CLI on CentOS

Let’s begin by checking if Transmission is available in the CentOS repositories:

yum search transmission

If luck is on our side, you should see both transmission-cli and transmission-daemon listed. Use the following command to install them:

yum install transmission-cli transmission-daemon -y

Run Transmission CLI on CentOS

The user guide delves into two tools: “transmission-daemon” and “transmission-remote.” According to the official documentation, “transmission-daemon” operates as a silent background BitTorrent client. Conversely, “transmission-remote” serves as the tool for adding and removing torrents. Here are some command to help setup “transmission-daemon”.

# get all settings
transmission-daemon --dump-settings
# set download folder
transmission-daemon --download-dir /home/bt
# list full available configuration options
man transmission-daemon
# start the Transmission session

Download Torrent in Transmission CLI

Having successfully initiated the Transmission CLI tool through the command line, our next step involves discovering how to add a torrent and initiate file downloads.

# list current downloading tasks
transmission-remote -l
# add a torrent file online
transmission-remote -a "http://releases.ubuntu.com/16.10/ubuntu-16.10-desktop-amd64.iso.torrent"
# add a torrent file locally
transmission-remote -a ubuntu-16.10-desktop-amd64.iso.torrent
# add a magnet link
transmission-remote -a "magnet:?xt=urn:btih:9f9165d9a281a9b8e782cd5176bbcc8256fd1871&dn=Ubuntu+16.04.1+LTS+Desktop+64-bit&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969"

Tip: Utilizing the -l option will display a list of active tasks. Subsequently, you can remove one or more specific tasks by providing their IDs from the list.

# remove one task by ID
transmission-remote -t 3 -r
# remove two tasks by IDs
transmission-remote -t 3,4 -r
# remove all tasks
transmission-remote -t all -r
Previous PostNext Post

Leave a Reply

Your email address will not be published. Required fields are marked *