stravo1 / obsidian-gdrive-sync

sync notes across devices in Obsidian via Google Drive
369 stars 8 forks source link

Feature request: Disable automatic sync, full manual support #28

Open jack5github opened 2 months ago

jack5github commented 2 months ago

As you may already be aware, I had a bad experience with this plugin deleting half my files when I was just starting up my Obsidian vault, and although the issue has since been fixed, I'm not currently comfortable with using the plugin just yet. It's because of this error I feel that in order to truly get used to this plugin, I need it to give me more control over what is backed up and what is downloaded.

I have a couple of suggestions, but for now I will focus on one: It would be great if it was possible to disable automatic syncing for a particular Obsidian instance. That way you can specifically select what files you want to download, and upload changes at your own leisure, without needing to overwrite every single file. Files that don't exist on an Obsidian instance could be manually downloaded either through the command pallete or settings.

One last thing: if it isn't already possible, it would appreciate it if you could select multiple files in the file explorer and upload/download those only. This would let me try out the syncing with certain files, as opposed to having every file be synced (especially because I want to avoid uploading attachments while they are getting renamed to add the -synced suffix).

stravo1 commented 2 months ago

hello again!

thank you for your suggestions! as i already mentioned before the files getting deleted from vault were the result of them getting deleted manually from Drive which the plug-in keeps sync with. files getting permanently deleted was a serious issue and has been temporarily fixed by moving them to the ".trash" folder within a vault from v0.9.9-beta-11.

i am actively working on fixing the attachment upload process, and will be ready with a release by mid-July which fixes the issue of attachment renaming.

will try and add a toggle to enable/disable auto-sync in a future release. very early releases (v0.2-beta) of this plug-in had manual sync, you can try them if you want. however we need to keep in mind that the main task of this plug-in is to make sure that there is minimal intervention from the user. so development efforts will be more towards improving auto sync instead of going back to manual sync.

thanks again for the suggestions :)

stravo1 commented 1 month ago

attachment issues are now fixed at beta-13, and have also added a feature to blacklist files and folders which need not be auto synced.