You're very welcome and lol it was you which originally reportet it here, long ago, thanks for that btw, else wouldn't be aware
I just checked and I never reported it strangely, must've forgot, so i'll do it today or tomorrow.
About your issue, then I just tested that it works if you quote the deluge-console command args given, plus additionally the glob-string searched for, e.g. I tested with the ipmagnet test torrent, which is listed as having name of "IP Magnet Tracking Link", and deleted it with:
Code: Select all
deluge-console "rm --confirm --remove_data '*net Track*'"
I forgot test btw if case-sensitive in globbing or not, but I seem to remember that it was when tested it some years ago, yeah pretty sure about it was actually. Anyway, Maybe there's other ways too, e.g. escape char etc, but this works atleast - little more dificult maybe from scripting then presumably. Btw, I used the long-format option '--confirm' instead of '-c' as quick workaround for current bug where else collides with '-c' already assigned for '--config', and else would need additional prepended "connect localhost ;" or "-c ~/.config/deluge" to make work as cannot find your auth file otherwise and complaints(since mistakenly directed to use nonexisting new config-dir with the -c).
Edit: Seems the move command dosen't work anyway, sorry, I don't know why looked like it did previously, but now I cannot make it work currently - besides hanging, then reports the new place correct, but no moved storage there. I'll investigate some more tomorrow before reporting bug. When in python manually importing curses module and runing e.g. curses.resizeterm(40,40), then also reports error need initscr() first, which worked when doing that, but though when adding it to deluge code then just stated other error next - also I don't get why even need mess with curses when running non-interactively i.e. cli not curses mode, that seems little buggy to me, and nop'ing out the function and the call to it from other file also, with 'pass' doesn't work either as hangs regardless, just without any curses error posted anymore when force-quiting out of the stall.
Edit2: Sorry, it does work currently as originally said, and just hangs afterwards, and md5sum check confirms moved correctly etc - I later on stupidly forgot use complete path and instead just gave relative one, and this isn't supported(but no error posted about that) and hence I thought didn't work, doh, sorry. Still no solution for the hanging either sadly, but will look more later again.