Unexpected behavior of --cleanup-local-files #2499
-
Hey folks, I struggle to understand the behavior of this client. First of all: I want to achieve a pure mirror from online state to my local drive. Changes happen online by many people, and I want this mirrored locally. Today, I created some new files and dropped them online via web interface, then moved some old files into an Archiv folder. After that, I executed locally this command: Now this is what happens:
It correctly sees the changes, downloads the new files and moves the files that I moved online. But then it deletes the three files, it moved just a moment before. Do I miss something fundamental here? I'm using onedrive v2.4.25 on Manjaro on an SSD with ext4 filesystem. Thanks in advance for any enlightenment. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
@Grimmwicht Before online move:
Move file from 'Documents' to 'Attachments' online, then sync again:
|
Beta Was this translation helpful? Give feedback.
-
Flagging another data point - I'm having the same issue with Sharepoint folder sync on 2.4.25. I switched to using I think this behaviour was probably introduced recently, I updated the client a couple of weeks ago but have only become aware of the issue recently... I think I was on 2.4.23 previously but not sure. |
Beta Was this translation helpful? Give feedback.
-
I've only got live data to work with, but it's backed up nightly so should be OK to test on one of the low impact libraries |
Beta Was this translation helpful? Give feedback.
@Grimmwicht
Unsure why this occurring here, but, that is potentially a bug in v2.4.25 code ... this being said, this issue does not exist in v2.5.x, and similar logic is used, however v2.5.x is a complete re-write:
Before online move: