You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to move file: can't move files on overlapping remotes #1319
I've renamed the issue since I realized that is not possible even locally:
(ins)carlos@carlos ~$ cd /tmp/
(ins)carlos@carlos tmp$ mkdir test
(ins)carlos@carlos tmp$ cd test/
(ins)carlos@carlos test$ mkdir x
(ins)carlos@carlos test$ touch a
(ins)carlos@carlos test$ rclone move a x
....
2017/04/09 00:00:31 Failed to move: can't move files on overlapping remotes
@o0-o the error is because you are attempting to copy "${CLOUD_DESTINATION}" to "${CLOUD_DESTINATION}/Hidden System Files" however "${CLOUD_DESTINATION}" includes "${CLOUD_DESTINATION}/Hidden System Files" already - hence the "overlapping remotes" error.
Thanks. I see that --transfers can not be used, is there a way to set number of parallels? some fuse option maybe?
The mount is pretty much driven by user interaction, so if you want less things happening at once, then you have to do less things at once to the mount.
Is there any way to move pattern-matched files and directories into a non-matching subdirectory?
Not currently, the filters are applied after the check for overlapping remotes :-(
If I was doing this, I'd do it via a mount...
Just for posterity, it appears this has been implemented in #6312 (released in 1.60.0 I think) as long as the destination is filtered one way or another.
Activity
memeplex commentedon Apr 9, 2017
I would like to add that the same example works fine if I replace move with copy. The output log shows that
b: Copied (server side copy)[-]Add support for server side move operations on google drive[/-][+]Unable to move file[/+]memeplex commentedon Apr 9, 2017
I've renamed the issue since I realized that is not possible even locally:
ncw commentedon Apr 10, 2017
For a remote which support directory moves, your operation is perfectly safe.
For a remote which doesn't it has to move each individual file which might fail and need a retry which is where the trouble starts...
I need to spend some time thinking about the corner cases!
[-]Unable to move file[/-][+]Unable to move file: can't move files on overlapping remotes[/+]4 remaining items
ncw commentedon Oct 1, 2018
This was fixed in c123c70 :-)
o0-o commentedon Feb 19, 2020
I am still experiencing this error in 1.51 in the following case:
The remote is Google Drive as well. Is the include flag possibly causing the issue?
This seems similar enough to reopen this issue, but let me know if I should open a new one.
ncw commentedon Feb 24, 2020
@o0-o the error is because you are attempting to copy "${CLOUD_DESTINATION}" to "${CLOUD_DESTINATION}/Hidden System Files" however "${CLOUD_DESTINATION}" includes "${CLOUD_DESTINATION}/Hidden System Files" already - hence the "overlapping remotes" error.
o0-o commentedon Feb 24, 2020
Is there any way to move pattern-matched files and directories into a non-matching subdirectory?
The filter documentation indicates shell pattern matching and not proper regex, so I would assume that escaping a period would be unnecessary.
Edit: double escaped backslashes in quote to display properly in md
ncw commentedon Feb 25, 2020
Not currently, the filters are applied after the check for overlapping remotes :-(
If I was doing this, I'd do it via a mount...
yeya commentedon May 25, 2020
Does
mountuse server side copy when executingmv?ncw commentedon May 26, 2020
Yes it does (if available).
yeya commentedon May 26, 2020
Thanks. I see that
--transferscan not be used, is there a way to set number of parallels? somefuseoption maybe?ncw commentedon May 26, 2020
The mount is pretty much driven by user interaction, so if you want less things happening at once, then you have to do less things at once to the mount.
Jwink3101 commentedon Jan 5, 2023
Just for posterity, it appears this has been implemented in #6312 (released in 1.60.0 I think) as long as the destination is filtered one way or another.
Thanks @Schlossgeist and @ncw for this awesome fix. It makes some operations in syncrclone much easier