AutoMover

by Al0cam
5
4
3
2
1
Score: 49/100

Description

Category: File Management

The AutoMover plugin helps organize your Obsidian vault by automatically moving files to designated folders based on user-defined rules. It allows you to create flexible sorting logic using simple keywords or advanced regular expressions with group captures. This enables dynamic path generation and categorization of notes based on patterns in their filenames. Users can set rules through an intuitive interface, control whether the automation triggers on file open, and run the mover manually if needed.

Reviews

No reviews yet.

Stats

18
stars
5,555
downloads
3
forks
407
days
57
days
57
days
4
total PRs
0
open PRs
0
closed PRs
4
merged PRs
9
total issues
3
open issues
6
closed issues
9
commits

Latest Version

2 months ago

Changelog

What's Changed

Full Changelog: https://github.com/al0cam/AutoMover/compare/1.0.7...1.0.8

README file from

Github

AutoMover Plugin

This plugin is used for designating folders in which your files will be moved automatically. It seeks to be an alternative to the https://github.com/farux/obsidian-auto-note-mover plugin from farux. The problem I had with that plugin was the lack of support for regex and regex groups in the destination paths.

Therefore, this plugin supports regex and regex groups to create the destination paths unless they already exist.

Features

  • Automatic file moving based on filename patterns, tags, or project metadata
  • Regex support with capture groups for dynamic folder creation
  • Project-based organization using frontmatter metadata
  • Tag-based rules for organizing files by tags
  • Exclusion rules to protect specific files/folders from being moved
  • Multiple triggers: on file open, manual execution, or time-based automation
  • Collapsible UI for better organization of complex rule sets
  • Import/Export settings for easy backup and sharing

Documentation

  • UI Guide - Complete overview of the plugin interface and settings
  • Moving Rules - Filename-based rules with regex examples
  • Tag Rules - Filename-based rules with regex examples
  • Project Rules - Organize files by project using frontmatter
  • Exclusion Rules - Protect specific files and folders

Quick Start

  1. Install the plugin from the Obsidian Community Plugins
  2. Open Settings → AutoMover
  3. Create your first rule:
    • Search criteria: Enter a filename pattern or regex (e.g., "Meeting")
    • Destination folder: Enter the target folder path (e.g., "Work/Meetings")
  4. Toggle "Move on open" to enable automatic moving
  5. Use the "Move files" button to apply rules to existing files

Rule Priority

The plugin checks rules in this order:

  1. Exclusion rules - Files matching these are never moved
  2. Project rules - Files with Project frontmatter match first
  3. Moving rules - Filename-based pattern matching
  4. Tag rules - Tag-based matching (if no filename rule matched)

Installation

  1. Open Settings → Community Plugins
  2. Browse and search for "AutoMover"
  3. Click Install, then Enable

Manual Installation

  1. Download the latest release from GitHub
  2. Extract files to .obsidian/plugins/AutoMover/
  3. Reload Obsidian
  4. Enable the plugin in Settings → Community Plugins

Requesting Features and Reporting Issues

If you want to request a feature or report an issue, please do so by creating an issue in the issues tab of this repository. In case you for some reason want to contact me directly, you can do so by sending me an email which is displayed in my github profile or via LinkedIn which is also displayed in my github profile.

Contribution

If you want to contribute to this plugin, you can do so by forking this repository and creating a pull request with your changes and an elaboration what they are and why. Thank you!

Future Plans

  • Add excluded folder support

  • Add excluded file support

  • Add regex support for excluded folders and files (must support language accents like ñ, á, š, đ, こ, 猫, etc.)

  • Add time based execution of rule sorting

  • Exposing the move files button to the left toolbar

  • Exposing the move files to the commands accessible via command palette

  • Add import and export of rules

  • Add #tag rule support

  • Add a file like .gitignore which contains all the moving rules (i am assuming the list can grow quite big for some people)

  • Auto tagging of moved files with the destination folder name (last folder in the path)

  • Add undo button to the notification popup for the moved files

  • Add collapse/expand all rules button

  • Add Project moving rules

    • Project name and destination path
    • Subfield that contain the moving rules for the project
  • Add project rules UI

  • Project rules business logic

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Regex Find and Replace
4 years ago by Martin Eder
Plugin for Obsidian, providing search/replace functionality which supports regular expressions and selections.
Dynamic Highlights
4 years ago by nothingislost
An experimental Obsidian plugin that highlights all occurrences of the word under the cursor
Linkify
4 years ago by Matthew Chan
Bulk Rename
4 years ago by Oleg Lustenko
Global Search and Replace
3 years ago by Mahmoud Fawzy Khalil
A plugin to do a global search and replace in all your Obsidian vault files.
File Explorer++
3 years ago by kelszo
A plugin for https://obsidian.md, which enables the ability to hide and pin specific files and folders in the file explorer by applying custom filters.
R.E.L.A.X.
2 years ago by Syr
Regex Obsidian Plugin
Tag Links
2 years ago by Zacchary Dempsey-Plante
A plugin for Obsidian that allows tags to be opened as links using a hotkey.
LinkMagic
2 years ago by AndyReifman
Regex Mark
2 years ago by Mara-Li
Find and replace in selection
5 years ago by Dmitry Savosh
Obsidian plugin. Find and replace in selection.
Regex Pipeline
5 years ago by No3371
An Obsidian plugin that allows users to setup custom regex rules to automatically format notes.
Blue Star
a year ago by Wang Guoshi
A plugin for Obsidian that generates Anki flashcards in various ways.
Hide Commands in Menu
a year ago by bomian98
Obsidian Plugin, hide different commands in different menus.
aDHL
a year ago by tine-schreibt
The Dynamic Highlights Plugin, but with hotkeys, more options and sorting; works well with Highlightr.
FileName Styler
a year ago by Marc Feininger
An Obsidian plugin to hide, customize, and decorate file names in the sidebar using regex and customizable profiles.
Regex Line Filter
a year ago by 64MM4-KN1F3
A note filtering plugin for Obsidian
Custom Selected Word Count
a year ago by banisterious
Custom Selected Word Count for Obsidian
Auto Replacer
10 months ago by Alecell
A live text replacement plugin that applies automatic formatting, corrections, or custom replacements in real-time. Define your own regex-based rules and transformation logic to modify text dynamically as you type.
URL Formatter
8 months ago by Thomas Snoeck
Automatically formats specific URLs pasted into Obsidian into clean Markdown links.