Bulk Replace
bulk_replaceReplace text across multiple notes in a specified folder. Supports regex patterns, dry-run preview, and automatic rollback snapshot for safe application.
Instructions
Replace text across notes selected by folder, optionally using regex. Defaults to dry-run, reports every changed file, enforces maxFiles, and creates a rollback snapshot before applying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | Literal text or JavaScript regex pattern. | |
| regex | No | Treat find as a regular expression (default false). | |
| dryRun | No | Preview only (default true). Set false to apply. | |
| folder | No | Optional vault-relative folder scope. | |
| replace | Yes | Replacement text; regex capture references such as $1 are supported. | |
| maxFiles | No | Abort above this changed-file count (default 100). | |
| caseSensitive | No | Regex case sensitivity (default true). |