ORDupdater

approvedunreviewed

by Ordnung

Updates frontmatter properties based on folder structure. Creates folder index files.

★ 1 stars↓ 405 downloadsUpdated 1mo agoMIT

ORDupdater

Keeps frontmatter properties and folder index notes in sync with your folder structure.

ORDupdater cover

Features

CapabilityWhat it does
Section chainEvery note gets links: — wikilinks to the folders it lives in, from the top down. Links you wrote yourself stay
Datesdate is set once, when the note first gets properties. update moves only when the note or its properties really changed
Folder tagtags gets the tag of the folder the note is in. Your own tags stay
Folder indexEvery folder gets <Folder>.md listing its subfolders and notes with their dates and tags
RenamingWith "Remove spaces in names" on, files and folders with spaces are renamed through Obsidian, so links to them follow
Moving a noteThe chain and the tag of the old folder are removed; everything you wrote stays
I18nInterface follows the language of Obsidian (English and Russian included)
SafeHidden folders (.obsidian, .git, …) are never touched, and nothing is written outside your vault

Installation

  • Community plugins → Browse → ORDupdater → Install & Enable
  • Manual: copy main.js, manifest.json, styles.css to .obsidian/plugins/ord-updater/

Usage

ActionWhat happens
Create, edit or rename a noteProperties are updated automatically
Ribbon icon (sidebar)Asks first, then updates the whole vault: properties, then folder indexes
Right-click a folderUpdates the files of that folder and its indexes
Command paletteUpdate all files in vault / Update current file properties
Ctrl/Cmd+SUpdates the active file as soon as Obsidian saved it

Settings

SettingDefaultWhat it does
Auto-updateONUpdate properties on file create, modify and rename
Auto-tagsONAdd the folder tag to tags
Auto-linksONAdd the chain of folders to links
Folder indexONCreate and update <Folder>.md
Update index on saveONRefresh the folder index after a note changes
Lock propertiesOFFHide "Add property" and the tag remove buttons
Skip namesnode_modules, src, dist, build, README.mdFolders and notes with these names are left alone. Comma separated, case does not matter, hidden folders are always skipped
Overwrite modeOFFKeep only date, update, tags and links and remove the other properties
Remove spaces in namesOFFRename files and folders with spaces, links included

Performance

Notes are processed in batches of 20, and only when something really has to change: a second run over untouched notes writes nothing at all, and folder indexes are built from Obsidian's own metadata cache. The whole-vault update asks for confirmation first, so it cannot start by accident.

Data and privacy

Only the notes in your vault and the plugin's own data.json are used. Nothing is sent anywhere, and no note is rewritten unless its properties need it.

Development

git clone https://github.com/Ordnungen/ord-updater
cd ord-updater
npm install
npm run dev      # watch build
npm run check    # typecheck + lint
npm run cases    # checks on an Obsidian stub
npm run dry-run -- "<vault>"   # what the plugin would change, without writing anything
npm run build    # production build

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.