Page 1 of 1

[deluge-console] Can't remove torrent from command line?

Posted: Fri Feb 21, 2020 8:23 pm
by dirheist
Hello!

I am trying to remove a torrent from the command line using deluge-console 2.0.3. Before version 2.0.0, doing

Code: Select all

deluge-console -rm [infohash]
would automatically remove the torrent and stop it from seeding. However, when I do it now, it give me the following output:

Code: Select all

>> deluge-console rm [infohash]
1 torrent match
*Torrent-Name-Here ([Infohash])
Confirm with -c to remove the listed torrents (Count: 1)
What does "confirm with -c" mean? I tried adding the -c flag to the above command line command which yields nothing since it's an unrecognized command line argument. Does anyone have any advice?

Re: [deluge-console] Can't remove torrent from command line?

Posted: Sat Feb 22, 2020 1:01 am
by mhertz

Code: Select all

deluge-console rm -c <ID>
BTW, in old consoleUI you could as ID enter just beginning of name or hash(as little as one char, but needing to watch out for deleting more than you'd like if not unique), and you can still do that with hash but has now changed to instead enter any chars of title and add * either in front or after pattern which is really nice imho, though also now is much slower than before, with a 2'ish secs delay after each operation(even with a single torrent running only), not there before.

Also, not home know and can't remember fully, but some commands, I believe like this one, doesn't auto-login to localhost daemon anymore, so if using localhost daemon, you now need precede the command with 'connect xxx' i.e 'connect xxx ; rm -c ID'. (I have shell aliases/functions setup for this and all other of my used commands, so that is why I cannot remember it)