Auto Note Mover Plus
pendingby devkade
Automatically move notes to folders based on rules. Forked from Auto Note Mover.
Auto Note Mover Plus
Auto Note Mover Plus is a powerful Obsidian plugin that automatically moves your notes to specific folders based on flexible rules. It is a fork of the original Auto Note Mover with enhanced capabilities.
Key Features (Plus)
- Multiple Conditions per Rule: Combine multiple checks (Tag, Title, Property, Date) for a single folder destination.
- Flexible Matching: Choose between ALL (AND) or ANY (OR) logic for your conditions.
- Date-Based Organization: Move notes based on creation/modification time or custom date frontmatter fields.
How it works
- Define Rules: You set up rules that map conditions to a destination folder.
- Trigger:
- Automatic: Moves notes automatically when you create, edit, or rename them.
- Manual: Moves notes only when you run the "Move the note" command.
Configuration
Rules
Each rule consists of:
- Destination Folder: Where the notes should go.
- Match Mode:
ALL: The note must meet every condition in the list.ANY: The note must meet at least one condition in the list.
- Conditions: Add one or more criteria.
Condition Types
| Type | Description | Example |
|---|---|---|
| Tag | Matches a tag in the note. | #journal, #work/project |
| Title | Matches the note title using Regex. | ^Daily Note, Meeting$ |
| Property | Matches a frontmatter property (key or key=value). | status: active, published: true |
| Date | Matches date criteria (see below). | Created Time, Modified Time |
| Folder | Restricts rule to notes in specific source folders. | /inbox, /drafts |
Folder Condition Details
Restrict a rule to only apply to notes in specific source folders.
- Folder Path: Specify the source folder path (e.g.,
/inbox). - Include Subfolders: When enabled, the rule also matches notes in all subfolders.
- Example: Folder
/noteswith "Include subfolders" ON matches:/notes/file.md✓/notes/subfolder/file.md✓/notes/deep/nested/file.md✓
- With "Include subfolders" OFF, only exact folder match:
/notes/file.md✓/notes/subfolder/file.md✗
- Example: Folder
Date Condition Details
Organize notes into date-based subfolders (e.g., 2023/10).
- Source: Choose
Frontmatter(specify a key likecreated) orFile Metadata(ctime/mtime). - Format: Use
{{YYYY}},{{MM}},{{DD}}in your Destination Folder path.- Example Folder Path:
Journal/{{YYYY}}/{{MM}} - If the date is
2023-11-25, note moves toJournal/2023/11.
- Example Folder Path:
Examples
For comprehensive configuration examples, including tag-based, title-based, and date-based rules, please refer to docs/usage-examples.md.
Installation
Manual Installation
-
Download
main.js,manifest.json,styles.cssfrom the latest Release. -
Copy files to your vault's plugin folder:
# Navigate to your Obsidian vault
cd /path/to/your/vault
# Create plugin directory
mkdir -p .obsidian/plugins/auto-note-mover-plus
# Copy downloaded files
cp ~/Downloads/main.js .obsidian/plugins/auto-note-mover-plus/
cp ~/Downloads/manifest.json .obsidian/plugins/auto-note-mover-plus/
cp ~/Downloads/styles.css .obsidian/plugins/auto-note-mover-plus/
- Reload Obsidian (Cmd/Ctrl + R) and enable "Auto Note Mover Plus" in Settings → Community plugins.
Attribution
This plugin is a fork of Auto Note Mover by farux. Big thanks to the original author for the excellent foundation.
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.