Created
May 23, 2025 13:23
-
-
Save johnkyle4/4739f219091dc8d191b65f946f37d2bc to your computer and use it in GitHub Desktop.
DriveSync Ultimate – Obsidian Inclusion/Exclusion Name Patterns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DriveSync Ultimate - Obsidian Inclusion/Exclusion Name Patterns | |
http://www.johnkyle.dev | |
Inclusion Name Patterns: | |
**/* | |
/.obsidian/snippets | |
/.obsidian/appearance.json | |
/.obsidian/bookmarks.json | |
/.obsidian/community-plugins.json | |
/.obsidian/graph.json | |
/.obsidian/hotkeys.json | |
/.obsidian/starred.json | |
Exclusion Name Patterns: | |
/.git | |
/.vscode | |
.gitignore | |
/.obsidian/plugins | |
/.obsidian/themes | |
/.obsidian/app.json | |
/.obsidian/core-plugins.json | |
/.obsidian/daily-notes.json | |
/.obsidian/types.json | |
/.obsidian/workspace-mobile.json | |
/.obsidian/workspace.json | |
Instructions: | |
- Apply these filters under Folder Pair Settings → Filters (both Local and Remote if available). | |
- This ensures that: | |
- Vault content syncs normally. | |
- Only essential .obsidian files are synced, including bookmarks for cross-device quick access. | |
- Device-specific layouts and legacy files are excluded. | |
Notes: | |
- Leading `/` restricts patterns to top-level `.obsidian` contents. | |
- Add or remove optional files from the inclusion list as your usage evolves. | |
------------------------------------- | |
Files to DELETE: | |
/.obsidian/app.json ← Device-specific, regenerated by app | |
/.obsidian/backlink.json ← Legacy, no longer used | |
/.obsidian/config ← Obsolete legacy file | |
/.obsidian/core-plugins-migration.json ← Leftover migration data | |
/.obsidian/core-plugins.json ← Device-specific core plugin state | |
/.obsidian/daily-notes.json ← Only needed if using Daily Notes plugin and want settings synced | |
/.obsidian/global-search.json ← Unnecessary, safe to remove | |
/.obsidian/note-composer.json ← Likely plugin-specific and device-specific | |
/.obsidian/publish.json ← Only needed if using Obsidian Publish | |
/.obsidian/types.json ← File type associations, not critical | |
/.obsidian/workspace ← Obsolete plain workspace state file | |
/.obsidian/workspace.json ← Desktop-specific UI layout; safe to remove | |
/.obsidian/workspace-mobile.json ← Mobile-specific UI layout; safe to remove | |
/.obsidian/plugins/ ← Optional: Delete if you want a fresh plugin state and will manually reinstall needed plugins. | |
/.obsidian/themes/ ← Optional: Delete if you want to reset installed themes. | |
Files to KEEP (and optionally sync): | |
/.obsidian/snippets/ ← CSS tweaks (definitely keep if you use custom appearance). | |
/.obsidian/bookmarks.json ← Only keep if bookmarks are important to you | |
/.obsidian/hotkeys.json ← Your custom keyboard shortcuts. | |
/.obsidian/appearance.json ← Keep if you want consistent visual appearance. | |
/.obsidian/community-plugins.json ← Keep if you want to remember which community plugins were enabled. | |
/.obsidian/starred.json ← Keep if you rely on Starred notes. | |
/.obsidian/graph.json ← Keep if you use and care about your Graph view settings. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment