by Michael Naumov
Declare which files and folders a file depends on, and move, rename, duplicate or delete them as one locked bundle.
File Bundles
An HTML page and the assets it loads, a note and the images pasted into it, a scanned invoice and the note describing it — these are one thing to you and several files to Obsidian. Move the main file and the rest stay behind. Delete it and they are orphaned. This plugin lets a file declare which files and folders belong with it, and then treats them as one bundle: what happens to the main file happens to the whole thing.
Demo vault
The documentation is a demo vault. Every feature has a note that explains what it does, with a worked example you can search yourself.
Start reading here — it is plain markdown, so it works on GitHub with nothing installed.
A copy of the vault ships with every release. You can access it via any of the following:
- Running the
File Bundles: Open demo vault command. - Downloading
file-bundles-demo-vault.zipfrom the Releases. It unzips into a singlefile-bundles-demo-vault-<version>folder. - Browsing its source in
demo-vault/in this repository.
What it does
- A bundle is declared, not inferred from a naming convention. A
file-bundleskey in the main file's own frontmatter says which files and folders belong with it, whatever they are called: see Declaring a bundle. - Any file can be a main file. An HTML file, a PDF or an image gets a sidecar note that declares the bundle on its behalf: see Bundles.
- A locked bundle moves, renames and deletes as one. Its dependents are hidden in the File Explorer (display only, so they stay linkable) and follow the main file wherever you drag it; unlocking splits them back into independent files: see Locking and unlocking.
- A bundle duplicates as one. The copy gets its own dependents and a declaration that names them, unlike Obsidian's Make a copy: see Bundles.
- A shared file is never deleted with one of the bundles declaring it.
- Settings choose the frontmatter key, excluded paths, and what a locked bundle does: see Settings.
Declaring a bundle
---
file-bundles:
main: "[[./report.html]]" # omit when this note is itself the main file
files:
- "[[./report-styles.css]]"
- "[[/shared/logo.png]]"
folders:
- ./report-images
---
Every path is explicitly relative (./, travels with the main file) or rooted (/, stays put). The keys and rules are in Declaring a bundle.
Usage
Moving and renaming need no command: a bundle follows its main file. Four commands cover the rest, with locking and deleting also on the File Explorer's context menu:
File Bundles: Show the bundle the active file belongs toFile Bundles: Lock or unlock the bundle the active file belongs toFile Bundles: Delete the bundle the active file belongs toFile Bundles: Duplicate the bundle the active file belongs to
See also
| Plugin | Features | How File Bundles differs |
|---|---|---|
Att Meta Map | Attachment companion notes; file-metadata properties; source-property mapping | Different scope: bundle file operations and locked visibility; no metadata extraction |
Custom Attachment Location (my plugin) | Per-note attachment destination; folder follows note | Broader grouping: any file can declare any set of files/folders |
Depends | Frontmatter note dependencies; graph links | Different effect: moves and deletes the declared files themselves |
Documents Bundle | Note-as-folder bundles; assets directory; captures attachments; folder follows note | Broader grouping: arbitrary declared files/folders; no fixed layout or new-attachment capture |
Media Sidecar Tools | Ctrl-click media sidecars; optional explorer hiding | Different grouping: declares existing files; no note creation; file operations act on the group |
Nested Notes | Drag-and-drop note nesting in a dedicated view | Alternative UI: keeps File Explorer; declared grouping controls its rows |
Sidecars | Unlisted; companion notes for attachments; orphan cleanup; explorer hiding | Alternative grouping: declarations, not matching names; any number of files/folders |
Last searched for similar plugins on 2026-10-26.
Installation
The plugin is available in the official Community Plugins repository.
Beta versions
To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:
- Ensure you have the BRAT plugin installed and enabled.
- Click Install via BRAT.
- An Obsidian pop-up window should appear. In the window, click the
Add pluginbutton once and wait a few seconds for the plugin to install.
Debugging
By default, debug messages for this plugin (id: file-bundles) are hidden.
If you need to enable them refer to the documentation.
Changelog
All notable changes to this project will be documented in the CHANGELOG.
Contributing
Contributions are welcome — see CONTRIBUTING to get set up.
Support
Filing an issue (for AI agents and humans)
Open issues through the issue forms, not as blank issues.
To report a bug from inside Obsidian, run the File Bundles: Report a bug command. It opens the bug form with the plugin version, the Obsidian version and your operating system already filled in.
Filing from the CLI or the API (gh issue create --body, or an AI agent filing for you) skips the form, and gh issue create --template cannot load an issue form. In that case, open the matching form in .github/ISSUE_TEMPLATE/, copy every field as a ### <label> heading in the form's order, and fill in each one. Always state the plugin version, the Obsidian version and your operating system.
License
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.









