-
-
Notifications
You must be signed in to change notification settings - Fork 849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload Only Option that does not perform remote delete #49
Comments
Generally, unless you want to do a bi-directional sync that constantly runs, do not use monitor mode.
You need to use the following command:
For further command options, refer to:
|
Nope, i use command:
I make cron job for my web server
"I want to "upload only" like on web-access of OneDrive, so when local file has been removed, on OneDrive not deleted". Like just for store the backup. |
The way that the client works (currently) is that it replicates the local / remote state. If a file is deleted locally or remotely, that state will be reflected. So essentially what your looking for is the following:
However |
@abraunegg Any estimations when this feature might be added? |
@diman82 |
* Implement --no-remote-delete so that local deletes are not processed to delete the coresponding file on OneDrive when using --upload-only
Please can you help test PR #96
Local testing of this PR below:
Validated that file still remains on OneDrive after local delete. |
@diman82, @gustiarto |
@abraunegg Seems to be working as expected!
|
Merged PR #96 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I can't use "onedrive --upload-only" in command-line, showing error =
Then i use "onedrive -m --upload-only"
When "1.zip" was uploaded on my OneDrive account, then i delete "1.zip" in local (~/OneDrive)
But at once uploading "2.zip", even "1.zip" has gone on my OneDrive account.
I think causes i use "-m" option but i can't be performed without "-m" option
How can i use Upload-Only Option without sync remote from local ?
The text was updated successfully, but these errors were encountered: