Use case or problem
With Obsidian Sync, I want to have more granular control over what files get shared. Excluding just by folder is limiting because I may want to strucutre folders in a way that do not work well with exclude folder feature.
Lets say I want to use sync to share plugins and certain files between my personal and work vaults.
I organize folders using PARA (Project, Area, Resource, Archive) folders.
There are certain files that I want to share between the two. For example, files that help index other files in my vault (eg. a “Tasks” page that pulls all the tasks within the vault, a “Projects” page that automatically links to all files in Project folder using bases, etc.) and certain resource notes.
I also may want to perserve the folder structure but not the individual files.
Proposed solution
- Provide an option to exclude files by regex
- Have a white/blacklist file (eg. like a .gitignore file)
- Exclude/include files based on certain file properities (eg. tags, other frontmatter properities)
Current workaround
Currently, I use a special folder that allows me to sync some of the pages I want in all vaults. Then I have to manually duplicate any directory structures/other files.