← 返回命令列表

Linux command

deluge-console 命令

文本

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

常用示例

Start interactive

deluge-console

Connect to daemon

deluge-console "connect; info"

Add a torrent

deluge-console "add [file.torrent]"

Pause a torrent

deluge-console "pause [torrent_id]"

Resume a torrent

deluge-console "resume [torrent_id]"

Remove a torrent

deluge-console "rm [torrent_id]"

Show torrent details

deluge-console "info -v [torrent_id]"

Run multiple commands

deluge-console "connect [host:port]; add [file.torrent]; info"

说明

deluge-console is the text-based console interface for the Deluge BitTorrent client. Deluge uses a client/server model, with deluged as the daemon process and deluge-console as the terminal front-end. In interactive mode, it presents a curses-based navigable interface for managing torrents with keyboard shortcuts. In command mode, it accepts commands as arguments for non-interactive operation, useful for scripts and automation. Commands can be passed directly on the command line and chained with semicolons. The console connects to the Deluge daemon either locally or remotely, providing the same functionality as the GTK client through a terminal interface.

参数

connect _HOST_:_PORT_
Connect to a Deluge daemon.
info -v
Show torrent information. Use -v for verbose details.
add _TORRENT_
Add a torrent file or magnet link.
pause _ID_
Pause a torrent.
resume _ID_
Resume a paused torrent.
rm _ID_
Remove a torrent.
del _ID_
Delete a torrent (alias for rm).
move _ID_ _PATH_
Move a torrent's download location.
recheck _ID_
Force a recheck of torrent data.
reannounce _ID_
Force a reannounce to trackers.
config
Show or set daemon configuration.
status
Show session status and transfer rates.
halt
Shut down the connected daemon.
--help
Display help information.

FAQ

What is the deluge-console command used for?

deluge-console is the text-based console interface for the Deluge BitTorrent client. Deluge uses a client/server model, with deluged as the daemon process and deluge-console as the terminal front-end. In interactive mode, it presents a curses-based navigable interface for managing torrents with keyboard shortcuts. In command mode, it accepts commands as arguments for non-interactive operation, useful for scripts and automation. Commands can be passed directly on the command line and chained with semicolons. The console connects to the Deluge daemon either locally or remotely, providing the same functionality as the GTK client through a terminal interface.

How do I run a basic deluge-console example?

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

What does connect _HOST_:_PORT_ do in deluge-console?

Connect to a Deluge daemon.