File Cooker
approvedby ivaneye
Deal batch notes from search results,current file, or Dataview query string.
欢迎加微讨论:IvyOdds
obsidian-file-cooker
This plugin for Obsidian deals multi notes from search results、current file、Dataview query string...
Features
- Add/Delete values to tags、alias、cssclasses(delete values when values start with - ,multi values split by ,)---New in 1.8.1
- Add Search-Results-Command,can deal with search results directly---New in v1.7.8
- Add Multi-File to target Canvas --- New in v1.7.0
- Add text to target Canvas---New in v1.7.6
- Add Dataview Task to target Canvas---New in v1.7.7
- Move/Copy Multi-File to target folder
- Rename Multi-File
- Add/Edit/- Add/Edit/Delete:-) Multi-File's Props(no need to install MetaEdit plugin from 1.8.0) (propValue:-) Multi-File's Props(no need to install MetaEdit plugin from 1.8.0)
- Delete Multi-File
- Merge Multi-File to target file
- Create files from unresolved links
- Sync Multi-File to flomo
- Copy Dataview result links to clipboard(DataviewJS pages queries is supported since v1.7.1))
- Add Bases query results as a file-only source (ignores non-file rows with count notice)
- files from clipboard
- file links in current file
- files from dataview query(need to install dataview plugin)

Usage
- Select:Select at least one file you want to cook
- Cook:Execute target command(e.g. Move/Copy, Delete ...)
- Confirm:Confirm execution
Select
Support 3 selects ways:
- Copy file links to clipboard. e.g. Copy obsidian search results
- Content or links in current file
- Dataview search command/DataviewJS pages queries(New in v1.7.1)
Bases query file operations (New in v2.0.0)
When the Bases data source is available, File Cooker provides a full Bases command group aligned with Dataview file commands:
- Move bases query results to ...
- Sync bases query results to flomo ...
- Merge bases query results to ...
- Delete bases query results!
- Copy bases result links!
- Edit Properties in bases results ...
- Rename in bases results ...
- Add bases query results to canvas...
- Add bases task to canvas...
Behavior boundaries:
- File-only mapping: only rows that can be mapped to real vault files are processed.
- Ignore non-file rows: unmapped rows are skipped, and a notice reports the ignored count.
- No row writes: File Cooker does not modify Bases row fields in this flow.
Cook
Depends on the different way to select, execute a different command.Ensure:
- Copy before executing deal-with-clipboard command.
- Open file before executing deal-with-current-file command.
- Selected Dataview-Command before executing deal-with-dataview command
Confirm
All commands open a popup to be confirmed.
Context menu entry (New)
File Cooker now also adds context-menu entries in two places:
- Editor context menu
File Cooker > Selection: sync selected text to flomo / add selection to canvas (only available when selection is not empty)File Cooker > Current file links: run link-based operations from the current file
- File explorer context menu
File Cooker > Target file: run single-file operations on the file you right-clicked
Notes:
- Destructive actions (like delete) still require confirmation.
- If no active file exists, current-file-link operations are safely blocked with a notice.
How to install
From within Obsidian
You can activate this plugin within Obsidian by doing the following:
- Open Settings > Third-party plugin
- Make sure Safe mode is off
- Click Browse community plugins
- Search for "File Cooker"
- Click Install
- Once installed, close the community plugins window and activate the newly installed plugin
Manual installation
- Download the latest release
- Extract the obsidian-file-cooker folder from the zip to your vault's plugins folder:
<vault>/.obsidian/plugins/
Note: On some machines the.obsidianfolder may be hidden. On MacOS you should be able to pressCommand+Shift+Dotto show the folder in Finder. - Reload Obsidian
- If prompted about Safe Mode, you can disable safe mode and enable the plugin.
Buy me a coffee
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.