rcx
rcx copied to clipboard
Trigger sync by local filesystem change
Pre-Submission checklist
- [x ] There is no existing issue that already asks for this feature.
If no, please add a +1, and maybe a comment if you have more to add. - [ ] The feature already exists in rclone (on your PC or in Termux)
- [ ] I am prepared to help make this feature
What version of RCX are you using (About -> App version)?
1.11.4
What problem are you trying to solve?
Autosync when local folder is changed.
What should RCX be able to do differently with help this problem?
I would like to have a local directory mirrored to a remote directory, so when I make changes in the local directory there is an automatic sync to the remote.
At the moment it seems I have to go the remote and select sync and then select "sync local to remote". Also it doesn't seem with Gdrive that I can just sync the whole content of my Gdrive, I need to move all files within a top directory.
Also it doesn't seem with Gdrive that I can just sync the whole content of my Gdrive, I need to move all files within a top directory.
I think that should work - to synchronise any remote/folder, you can navigate to that remote/folder, and then use the top level menu. If that does not work, open an additional issue.
when I make changes in the local directory there is an automatic sync to the remote.
-> changed title
- What should happen if there is no network connectivity?
- Do we need to monitor subdirectories for changes?
Implementation notes
- Probably requires a ForegroundService + FileObserver => battery drain likely
- Requires temporary/permanent failure detection => retry/disable trigger?
@x0b It's likely that keeping a service running might drain battery. One option might be to have a global sync button, another option is to run the service only during some interval, like 10-15 minutes. If there's no connection nothing happens, and the sync timer is reset whenever there is a successful update. Just some ideas.
One option might be to have a global sync button, another option is to run the service only during some interval, like 10-15 minutes. If there's no connection nothing happens, and the sync timer is reset whenever there is a successful update. Just some ideas.
This would be the proposal in issue 38.
Can I add my support for this request. This would be such a useful feature when roaming where equipment failure or loss is an issue. At least I'd still have any recent photos and documents.
+1