← 返回命令列表

Linux command

transmission-remote 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List all torrents

transmission-remote -l

Add a torrent

transmission-remote -a [path/to/file.torrent]

Add a magnet link

transmission-remote -a "[magnet:?xt=urn:btih:...]"

Start a specific torrent

transmission-remote -t [id] -s

Pause a torrent

transmission-remote -t [id] -S

Remove a torrent

transmission-remote -t [id] -r

Remove a torrent and delete files

transmission-remote -t [id] -rad

Connect to remote daemon

transmission-remote [host:port] --auth [user:password] -l

说明

transmission-remote is a command-line utility for controlling the Transmission BitTorrent daemon remotely. It connects to transmission-daemon (default: localhost:9091) to manage torrents, configure settings, and monitor transfer status. The tool provides full control over the daemon including adding and removing torrents, starting and stopping transfers, setting speed limits, viewing detailed torrent information, and managing individual files within torrents. Multiple torrents can be selected using the -t option with IDs, ranges, or 'all'. Authentication can be provided via the --auth option, the TR_AUTH environment variable, or a .netrc file. For remote daemons, specify the host and port as the first argument.

参数

-l, --list
List all torrents with status, progress, and speeds.
-a _file_, --add _file_
Add a torrent file or magnet URI.
-t _id_
Select torrent(s) by ID. Can be single ID, range (1-5), comma list (1,3,5), or 'all'.
-s, --start
Start the selected torrent(s).
-S, --stop
Stop (pause) the selected torrent(s).
-r, --remove
Remove the selected torrent(s) but keep downloaded files.
-rad, --remove-and-delete
Remove the selected torrent(s) and delete downloaded files.
-d _limit_, --downlimit _limit_
Set global download speed limit in KB/s.
-u _limit_, --uplimit _limit_
Set global upload speed limit in KB/s.
--auth _user:pass_
Provide authentication credentials for the daemon.
--port _port_
Connect to specified RPC port (default: 9091).
--ssl
Use SSL/TLS for the RPC connection.
-i, --info
Show detailed information about the selected torrent.
-if, --info-files
List files in the selected torrent.
-ip, --info-peers
List connected peers for the selected torrent.

FAQ

What is the transmission-remote command used for?

transmission-remote is a command-line utility for controlling the Transmission BitTorrent daemon remotely. It connects to transmission-daemon (default: localhost:9091) to manage torrents, configure settings, and monitor transfer status. The tool provides full control over the daemon including adding and removing torrents, starting and stopping transfers, setting speed limits, viewing detailed torrent information, and managing individual files within torrents. Multiple torrents can be selected using the -t option with IDs, ranges, or 'all'. Authentication can be provided via the --auth option, the TR_AUTH environment variable, or a .netrc file. For remote daemons, specify the host and port as the first argument.

How do I run a basic transmission-remote example?

Run `transmission-remote -l` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l, --list do in transmission-remote?

List all torrents with status, progress, and speeds.