Obsidian sync is ignoring all hidden files and directories currently. Some plugins and tools use hidden files (starting with a dot) to store their settings, which excludes them from Obsidian sync.
Some plugins allow to change the settings file to a different one, but I still think it makes sense to allow syncing of hidden files, and have those still be hidden in the main obsidian window. There is no need to have settings file be visible and editable from withing Obsidian.
Allowing syncing of hidden files means the Obsidian vault across multiple machines is actually identical, instead of somewhat identical minus hidden files.
Proposed solution
Allow syncing of hidden files similar to how “all file types” sync is an option in the sync settings. It could be optional, or even manually specifying which files should be synced.
Current workaround (optional)
Copy the hidden file to a non-hidden one (replace . with _), copy back on the other machine after syncing is done
Use other software to sync hidden files only, or use other software to automatically do the copying roundtrip I described above
This would be helpful for me. I have a plugin I’m working on that currently stores all data in the main plugin data.json file, but that file could get really big, and end up taking a lot of memory. It would be nice to be able to split up that data per file, and load it as needed, keeping the memory usage lower, and the time it takes to load smaller.
I’d also like to have this capability.
Smart Connections plugin uses .smart-connections/ directory to store embeddings information. This directory needs to be synced to use the plugin on multiple devices.
However, currently, Obsidian Sync does not sync this directory.
Having an option to synchronize such a directory would be very helpful.
Maybe this could be solved via a plugin that automatically syncs hidden folder/files with a non-hidden version of it, and syncs it back on new machines?
Using a standardized prefix, and not overwriting files if conflicts found, but instead alerting the user to manually solve the issue.
The git sync plugin has always supported this feature, but requires some kind of git server to work which requires manual setup and more time delays. For anyone who has need of more control over their syncing, that is probably the only solution right now.
Syncthing will sync the hidden files , check in Linux LXC container with following command
ls -a
Full transperancy though, I did have some sync conflicts when setting up/connecting all my remote devices. Seems to be only the .json files in the .obsidian folder