An Obsidian plugin that automatically organizes your notes by moving them to folders based on frontmatter properties. Customize which property to use, add base folders, create nested subfolders, and more!
- π― Customizable Property: Choose any frontmatter property (topic, tag, category, etc.)
- π Base Folder Support: Organize files into a base folder structure
- π Subfolder Support: Create nested folders using multiple properties
- π§ Smart Normalization: Automatically normalize folder names for compatibility
- βοΈ Flexible Settings: Enable/disable features as needed
- π Auto-create Folders: Automatically create folders if they don't exist
- Open Obsidian Settings
- Go to Community Plugins
- Click "Browse" and search for "Smart File Manager"
- Click Install, then Enable
- Download the latest release from the Releases page
- Extract the zip file to your vault's
.obsidian/plugins/directory - Reload Obsidian or restart the app
- Enable the plugin in Settings β Community Plugins
- Add a property to your markdown file's frontmatter (default is
topic):
---
topic: soccer
---- When you save the file, it will automatically be moved to the
soccerfolder.
You can use any frontmatter property. For example, using category:
- Go to Settings β Smart File Manager
- Set "Property Name" to
category - Add to your file:
---
category: work
---The file will be moved to the work folder.
Organize files into a base folder:
- In settings, set "Base Folder" to
Organized - With
topic: soccer, the file will be moved toOrganized/soccer/
Create nested folder structures:
- Enable "Use Subfolders" in settings
- Set "Subfolder Property" to
subtopic(or any property) - Add to your file:
---
topic: sports
subtopic: soccer
---The file will be moved to sports/soccer/
With these settings:
- Base Folder:
Notes - Property Name:
category - Use Subfolders: Enabled
- Subfolder Property:
project
---
category: work
project: website
---The file will be moved to: Notes/work/website/
Access settings via: Settings β Smart File Manager
- Enable Plugin: Turn automatic file moving on/off
- Property Name: The frontmatter property to use for folder organization
- Base Folder: Optional base folder path (leave empty for vault root)
- Use Subfolders: Enable nested subfolders based on additional property
- Subfolder Property: Property name for subfolder creation
- Normalize Folder Names: Convert to lowercase and remove special characters
- Auto-create Folders: Automatically create folders if they don't exist
---
topic: soccer
---β Moves to: soccer/
---
category: work
---Base Folder: Notes
β Moves to: Notes/work/
---
topic: sports
subtopic: soccer
---β Moves to: sports/soccer/
---
category: personal
project: journal
---Base Folder: Documents
β Moves to: Documents/personal/journal/
- The plugin monitors metadata changes in your markdown files
- When a file is saved or created, it checks the specified frontmatter property
- If the property exists, it determines the target folder path
- The file is automatically moved to the appropriate folder
- Folders are created automatically if they don't exist (if enabled)
- Check that the plugin is enabled in settings
- Verify the property name matches exactly (case-sensitive)
- Ensure the frontmatter property has a value
- Check the console for error messages (Ctrl/Cmd + Shift + I)
- Enable "Normalize Folder Names" to automatically clean folder names
- Avoid special characters in property values
- The plugin will skip invalid folder names and log a warning
The plugin includes protection against infinite loops. If you experience issues:
- Restart Obsidian
- Check that files aren't being moved to the same location repeatedly
# Install dependencies
npm install
# Build for development (with watch mode)
npm run dev
# Build for production
npm run buildContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have feature requests, please open an issue on GitHub.
Made with β€οΈ for the Obsidian community