Bulk rename a frontmatter field across notes (dry-run by default).
Bulk rename a frontmatter field across multiple notes with conflict detection. Use to safely migrate schema changes like renaming "status" to "state" across your vault, previewing changes before applying.
/plugin marketplace add bencassie/flywheel/plugin install flywheel@flywheelBulk rename a frontmatter field across notes (dry-run by default).
/schema-migrate old_name new_name # Preview rename
/schema-migrate old_name new_name --apply # Apply changes
Field Migration
────────────────────────────────────────────────────────────────
Preview: Rename "status" to "state" in 234 notes
────────────────────────────────────────────────────────────────
| Action | Target | Notes |
|---|---|---|
| Preview | Console output | Migration plan |
| Edits | Note files | After --apply |
Field Migration Preview
===============================================
Rename: "category" --> "type"
AFFECTED NOTES (234):
projects/Alpha.md
Before: category: project
After: type: project
work/tasks/task-1.md
Before: category: task
After: type: task
CONFLICTS (3 notes have both fields):
work/old-note.md
Has: category: task, type: item
CONFLICT: Cannot merge automatically
Action: Skip or manual review
SUMMARY:
Notes to update: 231
Conflicts: 3 (will skip)
Safe to migrate: 231
Run with --apply to execute migration
===============================================