cryptomator / cryptomator/android
Remember already uploaded files to not auto-upload them again if cloud files are moved
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 216
- PR merge metrics
- No merged PRs in 30d
Description
### Please agree to the following
- [X] I have searched [existing issues](https://github.com/cryptomator/android/issues?q=) for duplicates
- [X] I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md)
### Summary
Implement a protocol about already uploaded files to avoid reuploading them with auto-upload
### Motivation
I use Cryptomator everyday. All photos and videos are uploaded automatically and immediately. I have different types of media files on my smartphone: self created with the camera app, downloaded from somewhere or received from WhatsApp & co. and that's how I sort the files from time to time in the cloud (from my PC). I create a lot subfolders in the Crypto-Cloud and move the files into them. The problem is the Cryptomator app thinks these moved (or deleted) files were never uploaded and begins the auto upload of thousands files after re-unlocking the vault. That's very annoying. Cryptomator should "remember" (in a database) which files are already uploaded even if they are deleted / moved in the cloud.
This function should be configurable in the settings like "Default - like now and upload everything again" or "Do not upload files that have been previously uploaded".
I think the implementation of this feature request is relative easy. I would implement a SQLite database where all once uploaded files are stored into it and just check the settings. If the user set "Don't reupload once uploaded files" then compare all files with the database entries before auto-uploading them (again).
### Considered Alternatives
Or save the information about previously uploaded files in a text file inside the vault. Maybe a simple checksum of the files and the last modification date are enough to check if a file was previously uploaded.
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.