Skip to content
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

Watch folders for deleted files and delete from Nextcloud #3534

Open
Terrox opened this issue Jan 31, 2019 · 7 comments
Open

Watch folders for deleted files and delete from Nextcloud #3534

Terrox opened this issue Jan 31, 2019 · 7 comments
Labels
enhancement feature: sync needs review Potentially out of date or duplicate and/or fixed or mostly fixed so needs a status update

Comments

@Terrox
Copy link

Terrox commented Jan 31, 2019

Is your feature request related to a problem? Please describe.

Currently I can use Markor to edit notes and those are synced when I open Nextcloud Client and sync the folder. But If I delete a file outside Nextcloud Client that file will just be restored by Nextcloud Client sync.

Describe the solution you'd like

A watched folder like the AutoUpload folder which will also delete files.

Describe alternatives you've considered

Syncthing

Additional context

I would use this to handle external note editor app syncing so I can delete a note via native android methods or 3rd party app without having to delete in the Nextcloud Client app.

@nextcloud-android-bot
Copy link
Collaborator

GitMate.io thinks possibly related issues are #2281 ([Deleted]), #2382 (Delete multiple files), #975 (Showing deleted files), #2574 (crash on file delete), and #1048 (Nextcloud android app does not move or delete original files).

@tobiasKaminsky
Copy link
Member

If you click "sync" on a folder it performs a 2-way sync, so yes this is intended.
For your special case you could manually add an auto upload folder, but then you will still have to delete the files locally.

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Jan 31, 2019

Also, with 3.5.0 of the Nextcloud app, in case https://github.com/gsantner/markor would make use of the document provider implementation this would all work out-of-the-box and also instantly.

@Terrox
Copy link
Author

Terrox commented Jan 31, 2019

@AndyScherzinger Where is the spec for that?

@AndyScherzinger
Copy link
Member

@tobiasKaminsky can you answer this question? :)

@tobiasKaminsky
Copy link
Member

@Terrox what do you mean with spec?
The Document Provider is supplied by Android's SDK: https://developer.android.com/guide/topics/providers/create-document-provider

Usage is to use an app that can open files from document storage provider and then browse to NC's files and use them.

@Terrox
Copy link
Author

Terrox commented Feb 2, 2019

@tobiasKaminsky I mean I don't know much about this but I'd like to make the Markor guy's job a bit easier with a reference :) .

@joshtrichards joshtrichards added the feature: transfers [WIP] Any uploading / downloading matters that aren't auto upload or sync specific label Oct 9, 2023
@joshtrichards joshtrichards added needs review Potentially out of date or duplicate and/or fixed or mostly fixed so needs a status update feature: sync and removed feature: transfers [WIP] Any uploading / downloading matters that aren't auto upload or sync specific labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature: sync needs review Potentially out of date or duplicate and/or fixed or mostly fixed so needs a status update
Projects
None yet
Development

No branches or pull requests

5 participants