OS: Windows 10 x64
rclone: v1.51.0-125-g32df634c-beta
I am moving files and folders between remotes via rclone rc. To be specific, one remote is OneDrive and another is my local disk:
[onedrive]
type = onedrive
token = HERE-GOES-TOKEN
drive_type = personal
[disk]
type = local
When I check the list of transfers using /core/transferred
, it reports triplicate records (so the same transfer is listed 3 times).
This happens after /operations/movefile
and /sync/move
commands. Commands /operations/copyfile
and /sync/copy
do not cause that.
Example of /operations/movefile
:
http://127.0.0.1:5572/operations/movefile
{"srcFs":"disk:/path/to/some/folder/","srcRemote":"another.txt","dstFs":"onedrive:/another/path/to/some/folder/","dstRemote":"another.txt"}
http://127.0.0.1:5572/core/transferred
{
"transferred": [
{
"bytes": 0,
"checked": true,
"completed_at": "2020-03-22T14:12:00.2847287+01:00",
"error": "",
"group": "job/368",
"name": "another.txt",
"size": 6,
"started_at": "2020-03-22T14:11:58.9134588+01:00"
},
{
"bytes": 6,
"checked": false,
"completed_at": "2020-03-22T14:12:00.2847287+01:00",
"error": "",
"group": "job/368",
"name": "another.txt",
"size": 6,
"started_at": "2020-03-22T14:11:58.9134588+01:00"
},
{
"bytes": 0,
"checked": true,
"completed_at": "2020-03-22T14:12:00.2847287+01:00",
"error": "",
"group": "job/368",
"name": "another.txt",
"size": 6,
"started_at": "2020-03-22T14:12:00.2847287+01:00"
}
]
}
As you can see, it's an absolutely identical record being reported 3 times.
Example of /sync/move
(folder contains only one file - single-file.txt
):
http://127.0.0.1:5572/sync/move
{"srcFs":"disk:/path/to/different/folder","dstFs":"onedrive:/another/path/to/different/folder","deleteEmptySrcDirs":"true"}
http://127.0.0.1:5572/core/transferred
{
"transferred": [
{
"bytes": 0,
"checked": true,
"completed_at": "2020-03-22T14:06:54.7664079+01:00",
"error": "",
"group": "job/40",
"name": "single-file.txt",
"size": 15,
"started_at": "2020-03-22T14:06:52.4745278+01:00"
},
{
"bytes": 15,
"checked": false,
"completed_at": "2020-03-22T14:06:54.7664079+01:00",
"error": "",
"group": "job/40",
"name": "single-file.txt",
"size": 15,
"started_at": "2020-03-22T14:06:52.4745278+01:00"
},
{
"bytes": 0,
"checked": true,
"completed_at": "2020-03-22T14:06:54.7664079+01:00",
"error": "",
"group": "job/40",
"name": "single-file.txt",
"size": 15,
"started_at": "2020-03-22T14:06:54.7664079+01:00"
}
]
}
That looks like a bug to me.
For comparison, here's the output after /sync/copy
command (folder contains only one file - lastfile.txt
):
http://127.0.0.1:5572/sync/copy
{"srcFs":"disk:/path/to/some/other","dstFs":"onedrive:/path/to/other/folder"}
http://127.0.0.1:5572/core/transferred
{
"transferred": [
{
"bytes": 13,
"checked": false,
"completed_at": "2020-03-22T14:14:13.5548747+01:00",
"error": "",
"group": "job/505",
"name": "lastfile.txt",
"size": 13,
"started_at": "2020-03-22T14:14:10.8200743+01:00"
}
]
}