Skip to content

Recursive deletion with retention policy not working #1525

Answered by abraunegg
ksavin asked this question in Q&A
Discussion options

You must be logged in to vote

@ksavin

onedrive --synchronize --upload-only --verbose --verbose

Additionally - thinking on this a little further based on how you are running the application.

With --upload-only you are only uploading data, but not telling the client about any other file that might reside in that location.

So when deleting files, the client will only delete files that it knows about. If there are other files that are present online, that you (or other folk) have uploaded to that location, then, these are not known about the client you are running, thus, will still remain when you are attempting to delete the folder.

There are a few options here:

  • Dont use --upload-only so that the client knows the full…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ksavin
Comment options

Answer selected by ksavin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants