Forrest logo
back to the transmission-cli tool

transmission-cli:tldr:84bfd

transmission-cli: Create a torrent file from a specific file or directory.
$ transmission-cli --new ${path-to-source_file_or_directory}
try on your machine

The command "transmission-cli --new ${path-to-source_file_or_directory}" is used to add a new torrent to the Transmission torrent client for downloading files. Here's how it works:

  1. "transmission-cli" is the command-line interface (CLI) tool for the Transmission BitTorrent client. It allows you to interact with Transmission via the command line.
  2. "--new" is an argument or option for the "transmission-cli" command. It tells Transmission to add a new torrent.
  3. "${path-to-source_file_or_directory}" is a placeholder for the actual path to the file or directory you want to add as a torrent. You need to replace it with the specific path on your system.

For example, if you have a file called "my_file.torrent" located in the Downloads directory, the command would look like:

transmission-cli --new /home/user/Downloads/my_file.torrent

This will instruct Transmission to add the torrent file or the files contained within the directory to the download queue for downloading.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the transmission-cli tool