OneDrive: Move files from a directory to root directory

It's very simple but I can't get it to work.

rclone move onedrive:mydir/** onedrive: -vv

What I want is move all the contents of mydir to root directory. But it does not work.

2020/12/20 20:06:25 DEBUG : Creating backend with remote "onedrive:mydir/**"
2020/12/20 20:06:27 DEBUG : Creating backend with remote "onedrive:"
2020/12/20 20:06:27 DEBUG : One drive root '': Using server side directory move
2020/12/20 20:06:27 ERROR : One drive root '': Server side directory move failed: can't move root directory
2020/12/20 20:06:27 ERROR : Attempt 1/3 failed with 1 errors and: can't move root directory
2020/12/20 20:06:27 DEBUG : One drive root '': Using server side directory move
2020/12/20 20:06:27 ERROR : One drive root '': Server side directory move failed: can't move root directory
2020/12/20 20:06:27 ERROR : Attempt 2/3 failed with 1 errors and: can't move root directory
2020/12/20 20:06:27 DEBUG : One drive root '': Using server side directory move
2020/12/20 20:06:27 ERROR : One drive root '': Server side directory move failed: can't move root directory
2020/12/20 20:06:27 ERROR : Attempt 3/3 failed with 1 errors and: can't move root directory
2020/12/20 20:06:27 DEBUG : 6 go routines active
2020/12/20 20:06:27 Failed to move: can't move root directory

hi, as per docs, "Rclone will error if the source and destination overlap "

one option is to use rclone mount and then use a local file manager to move the mydir

onedrive:mydir/** does not look correct.
so i did a quick test

rclone.exe copy wasabi01:en07/kdbx/** wasabi01:en07/zzzz  --dry-run -vv
There was nothing to transfer

so i would use onedrive:mydir

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