← 返回命令列表

Linux command

transmission-daemon 命令

文本

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

常用示例

Start the daemon

transmission-daemon

Start with authentication

transmission-daemon --auth --username [user] --password [pass]

Start with web interface port

transmission-daemon --port [9091]

Specify download directory

transmission-daemon --download-dir [/path/to/downloads]

Allow specific IP addresses

transmission-daemon --allowed "[127.0.0.1,192.168.*.*]"

Watch directory for torrents

transmission-daemon --watch-dir [/path/to/watch]

Run in foreground

transmission-daemon -f

Require encryption

transmission-daemon --encryption-required

说明

transmission-daemon is a headless BitTorrent client that runs as a background daemon. It provides full BitTorrent functionality controlled via RPC interface, accessible through the web interface or transmission-remote command. The daemon supports magnet links, DHT, peer exchange, encryption, and bandwidth scheduling. Configuration is stored in settings.json in the config directory. The web interface (default: http://localhost:9091) provides a graphical way to manage torrents. For command-line control, use transmission-remote to add, remove, and manage torrents. Stop the daemon before editing settings.json manually, as changes are overwritten on exit.

参数

-g, --config-dir _dir_
Configuration directory location.
-a, --allowed _list_
Comma-separated whitelist of allowed IPs (supports wildcards).
-b, --blocklist
Enable peer blocklists.
-t, --auth
Require authentication.
-u, --username _name_
Authentication username.
-v, --password _pass_
Authentication password.
-p, --port _port_
RPC/web interface port (default: 9091).
-w, --download-dir _dir_
Default download directory.
--incomplete-dir _dir_
Directory for incomplete downloads.
--watch-dir _dir_
Watch directory for new .torrent files.
-er, --encryption-required
Require encrypted connections.
-ep, --encryption-preferred
Prefer encrypted connections.
-f, --foreground
Run in foreground.
--dump-settings
Dump current settings to stderr.
-h, --help
Display help.

FAQ

What is the transmission-daemon command used for?

transmission-daemon is a headless BitTorrent client that runs as a background daemon. It provides full BitTorrent functionality controlled via RPC interface, accessible through the web interface or transmission-remote command. The daemon supports magnet links, DHT, peer exchange, encryption, and bandwidth scheduling. Configuration is stored in settings.json in the config directory. The web interface (default: http://localhost:9091) provides a graphical way to manage torrents. For command-line control, use transmission-remote to add, remove, and manage torrents. Stop the daemon before editing settings.json manually, as changes are overwritten on exit.

How do I run a basic transmission-daemon example?

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

What does -g, --config-dir _dir_ do in transmission-daemon?

Configuration directory location.