Forrest logo
back to the transmission-remote tool

transmission-remote:tldr:80cfc

transmission-remote: Move torrents 1-10 and 15-20 to a new directory (which will be created if it does not exist).
$ transmission-remote ${hostname} -t "${1-10,15-20}" --move ${-path-to-new_directory}
try on your machine

This command is used to perform operations on torrents using the Transmission BitTorrent client's remote command interface. Let's break it down:

  • transmission-remote: This is the command to interact with the Transmission BitTorrent client remotely.

  • ${hostname}: This variable should be replaced with the hostname or IP address of the machine running the Transmission client. It specifies which client to connect to.

  • -t "${1-10,15-20}": This flag and its argument specify which torrents to operate on. The ${1-10,15-20} part is a parameter expansion where it represents multiple torrent IDs. It selects torrent IDs from 1 to 10 and from 15 to 20. It signifies that the command will act on these specific torrents.

  • --move ${-path-to-new_directory}: This flag and its argument determine the action to be performed on the selected torrents. In this case, the --move flag instructs Transmission to move the downloaded files of the specified torrents to a new directory. ${-path-to-new_directory} should be replaced with the actual path to the destination directory where the downloaded files will be moved.

By executing this command (replacing variables with appropriate values), you can remotely connect to a Transmission client, select specific torrents, and move their downloaded files to a new directory.

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-remote tool