Is there a way to stop a running group? For example, I can run a rclone copy operation using the "sync/copy" command and give it a "_group" identifier. With this I can query the status using a "core/stats" command. But I need a way to stop a group similar to how the "job/stop" command can stop a specific job.
I am using rclone in an Electron application and spawning a new child process to run the rclone executable using "rclone rcd --rc-no-auth --rc-serve". I want to be able to run multiple copy operations at the same time and stop a given copy on demand. One workaround is to start a new process for every copy operation and if I want to stop the copy, just kill the process. However this is less than ideal. I was expecting to find a command like "core/stop" that would accept a parameter for the "_group" identifier.
Does this exist? I've been searching the forum and documentation but can't seem find an answer. Am I missing something?
What is your rclone version (output from rclone version)
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Which cloud storage system are you using? (eg Google Drive)
I have no experience with rc, so I am not able to definitively answer your question.
It seems like you have already checked the rc documentation without finding what you wanted. It is my impression that the rclone documentation is in very good shape and reflects the current functionality. So, if it isn’t mentioned there then it probably doesn’t exist.
Just to be sure I also briefly checked the code (not an expert) and the only "/stop" in the code is job/stop and it doesn't take a group as parameter. The code is here: