How to append new tasks to an on-going rclone transfer session?

Working Directory Structure

- copy.list
- firstFolder
| - first.file
- secondFolder
| - second.file

How can I achieve something as follows?

  1. add firstFolder to the copy.list
    echo "firstFolder/**" > copy.list
  2. invoke a copy task via rclone with the copy.list as the --include-from parameter
    rclone copy --progress --include-from copy.list . remote:destination
  3. the transfer is in progress
    Transferred:        3.568 GiB / 10.251 GiB, 35%, 21.167 MiB/s, ETA 5m23s
    Transferred:            0 / 1, 0%
    Elapsed time:       3m5.3s
  4. before the transfer ends, if I add a new entry to the end of the copy.list
    echo "secondFolder/**" >> copy.list

What I expected to happen is the new entry gets picked up by the current ongoing transfer session and the new task is transferred by the current session like:

Transferred:        3.568 GiB / 10.251 GiB, 35%, 21.167 MiB/s, ETA 5m23s
-Transferred:            0 / 1, 0%
+Transferred:            0 / 2, 0%
Elapsed time:       3m5.3s

But what happened instead is that the current transfer session stuck to the original tasks without recognizing the updated file.

I understand that this is not the intended way of using the --include-from file, and I am just using it to demonstrate my use case.

And My question is, is there a way to append new task to an on-going transfer session without interrupting it?

Thanks and Merry Christmas!

rclone Version

rclone v1.61.1-cold
- os/version: debian 9.13 (64 bit)
- os/kernel: 4.19.123-feral (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none

Short answer, no.

Longer answer , you could use the remote control to add things to transfer to an existing session.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.