obsidian-livesync icon indicating copy to clipboard operation
obsidian-livesync copied to clipboard

Settings/Hidden file sync

Open pwall2222 opened this issue 2 months ago • 1 comments

Okay, so the behavior of both Hidden file sync and Customization sync is not specified anywhere.

And I was messing around just trying to sync 1 singular file, to then scale to all of the ones I wanted, but this seemed like a real challenge.

Customization sync

Okay so with customization sync, I set it up with this series of steps:

  • Check that hidden file sync is disabled
  • Set a device name unique to each device
  • Enable customization sync
  • Enable Scan customization automatically
  • Open the Customization sync dialog
  • Set all the available options to ignore except for .obsidian/bookmarks.json, which I set to automatic, Overwrite remote

Now I do the exact same setup on another device except I select Overwrite local for that last one option. Now I change the bookmarks, and I try:

  • Replicating in both devices (does not sync)
  • Open Customization sync dialog, replicate there (does not sync)
  • Click all the other buttons from the Customization sync dialog (does not sync)

So after that I just give up

Hidden file sync

Set it up with this steps:

  • Check that customization sync is disabled
  • Add ^(?!\.obsidian\/bookmarks\.json).*$ as a pattern, so it matches everything but the file I want
  • Fetch the hidden files

I do the same on a second device. But now, instead of not working at all, it works 1% of the time. So after setup, I might change it in once device, replicate in both, it does change, but then when I try to modify it again it stops working.

Objectives

Either documentation, or how can I help as a dev myself.

pwall2222 avatar Jun 11 '24 21:06 pwall2222