Wiki > Deluge Console Documentation
Start the console interface
Enter the deluge console:
deluge-console
Connect to your daemon (Replace ##### with your Deluge daemon port found on your slot info page):
connect 127.0.0.1:#####
Commands
Help commands can be displayed for each command using the --help
flag.
add
Add a torrent
Usage: add [-p <save-location>] <torrent-file> [<torrent-file> ...]
Options:
-p PATH, --path=PATH save path for torrent
cache
Show information about the disk cache
Usage: cache
config
Show and set configuration values
Usage: config [key1 [key2 ...]]
config --set key value
Options:
-s SET, --set=SET set value for key
connect
Connect to a new deluge server.
Usage: connect <host[:port]> <username> <password>
debug
Enable and disable debugging
Usage: debug [on|off]
del
Remove a torrent
Usage: rm <torrent-id>
Options:
--remove_data remove the torrent's data
exit
Exit from the client.
Usage: exit
halt
Shutdown the deluge server.
Usage: halt
help
displays help on other commands
Usage: help [command]
info
Show information about the torrents
Usage: info [<torrent-id> [<torrent-id> ...]]
You can give the first few characters of a torrent-id to identify the torrent.
Options:
-v, --verbose shows more information per torrent
-i, --id use internal id instead of torrent name
--sort=SORT sort items. Possible keys: state, save_path, tracker,
tracker_status, next_announce, name, total_size,
progress, num_seeds, total_seeds, num_peers,
total_peers, eta, download_payload_rate,
upload_payload_rate, ratio, distributed_copies,
num_pieces, piece_length, total_done, files,
file_priorities, file_progress, peers, is_seed,
is_finished, active_time, seeding_time
--sort-reverse=SORT_REV
sort items in reverse order. Same keys allowed as for
--sort.
pause
Pause a torrent
Usage: pause [ * | <torrent-id> [<torrent-id> ...] ]
plugin
Manage plugins with this command
Usage: plugin [ -l | --list ]
plugin [ -s | --show ]
plugin [ -e | --enable ] <plugin_name>
plugin [ -d | --disable ] <plugin_name>
Options:
-l, --list lists available plugins
-s, --show shows enabled plugins
-e ENABLE, --enable=ENABLE
enables a plugin
-d DISABLE, --disable=DISABLE
disables a plugin
quit
Exit from the client.
Usage: quit
recheck
Forces a recheck of the torrent data
Usage: recheck [ * | <torrent-id> [<torrent-id> ...] ]
resume
Resume a torrent
Usage: resume [ * | <torrent-id> [<torrent-id> ...] ]
rm
Remove a torrent
Usage: rm <torrent-id>
Options:
--remove_data remove the torrent's data
Automation
If you want to add torrents directly to Deluge through automatic methods such as with autodl-irssi:
/usr/bin/deluge-console -d 127.0.0.1 -p ##### add --path /home/user/files $(TorrentPathName)
(Replace ##### with your Deluge daemon port found on your slot info page)