Syncing with Syncthing

I use Syncthing to sync my vaults between all my devices, and depending on the device I want to selective ignore specific folders or configuration files.

Phone/Tablet

Obsidian Vault

  • For the General Notes/Documentation vault I want to sync all the notes, resources, and plugin files/configurations
  • BUT, I do not want to sync the community-plugins and workspaces config files, since I do not use all the same extensions on mobile as on the desktop

Ignore Patterns:

// Ignore community-plugins to minimize bloat on mobile
**/community-plugins.json
 
// Disable workspace syncing from the mobile device
**/workspace-mobile.json

Journal Vault

  • For the Journal vault I want to only sync the last couple of years of folders, otherwise it really slows down Obsidian startup
  • We also want to sync the .obsidian folder which contains the vault data, but we do not want to sync the community-plugins and workspace config files, since I do not use all the same extensions on mobile as on the desktop

Ignore Patterns:

// Overrides - DO Sync these folders/Files
// Directories
!/2025/**
!/2023/**
!/2022/**
!/2021/**
!/2020/**

// Obsidian Config folder
!/.obsidian/**

// Ignore community-plugins to minimize bloat/loading time on mobile
**/community-plugins.json

// Disable workspace syncing to/from the mobile device
**/workspace-mobile.json 

// Ignore ALL files and folders
*