kiteruunner702 downloadsAutomatically organize attachments into zone-based folders with conflict detection and batch operations.
Automatically organize attachments into zone-based folders with conflict detection and batch operations.
The plugin scans your vault and classifies each attachment based on its location and references:
| Mark | Status | Meaning |
|---|---|---|
- |
Note | Markdown note (not an attachment) |
K |
Keep | Already in the correct location |
B |
Staging | Orphan — move to Staging folder |
R |
Relocate | Move to proper location near its referencing note |
M |
Missing | Referenced in a note but file doesn't exist |
C |
Conflict | Can't move due to naming conflict |
main.js, manifest.json, and styles.css from the latest release<your-vault>/.obsidian/plugins/attachment-organizer/git clone https://github.com/Kiteruunner/obsidian-attachment-organizer.git
cd obsidian-attachment-organizer
npm install
npm run build
Copy main.js, manifest.json, and styles.css to your vault's plugin folder.
Ctrl/Cmd + P → "Open Organizer") or the ribbon icon| Setting | Description |
|---|---|
| Workspace folder | Main folder to organize (empty = vault root) |
| Staging folder | Where orphan attachments are moved |
| Enable Extra Scan | Scan additional folders outside Workspace/Staging |
| Extra Scan folders | Specific folders to scan, or leave empty for whole vault |
| Setting | Description |
|---|---|
| Backlink scope | Which notes to analyze: Workspace only or Whole vault |
| Link sources | Types of links to detect: [[links]], ![[embeds]], frontmatter |
| Setting | Description |
|---|---|
| Placement mode | Where attachments go: Vault root, Specified folder, Same folder as note, or Subfolder under note |
| Subfolder name | Name of subfolder when using "Subfolder under note" mode |
| Setting | Description |
|---|---|
| Multi-backlink policy | How to handle attachments referenced by multiple notes |
| Global name check | Prevent moves that would create duplicate filenames |
| Plan External attachments | Include files outside Workspace/Staging in the plan |
| Setting | Description |
|---|---|
| Attachment rules | Regex patterns to identify .md files as attachments (e.g., Excalidraw) |
| Show stats | Display scan statistics in the Organizer view |
C (Conflict) won't be moved — resolve duplicates manually firstKirun — GitHub