File Cooker

by iuian
5
4
3
2
1
Score: 60/100

Description

Category: File Management

The File Cooker plugin is a powerful tool for Obsidian users who need to manipulate multiple files at once. With this plugin, you can add or delete tags, aliases, and CSS classes from multiple files with ease. You can also use the Search Results Command to work directly with search results, and even cook up Dataview queries to create new files. The plugin offers a range of cooking options, including moving, copying, renaming, and deleting files, as well as merging files together or creating new ones from unresolved links. Whether you're organizing your notes or creating new content, the File Cooker plugin is sure to streamline your workflow and save you time.

Reviews

No reviews yet.

Stats

65
stars
17,181
downloads
3
forks
1,497
days
6
days
6
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
18
total issues
7
open issues
11
closed issues
7
commits

Latest Version

6 days ago

Changelog

🐛 修复

  • 修复官方 review 安全报错:移除 innerHTML 不安全赋值,改为安全的 DOM 渲染预览列表

📄 文档

  • 优化 README(中/英),对齐 OnePage 发布规范,补充完整功能说明、使用指南与更新日志
  • 更新演示图 demo.png

变更文件

  • README.md / README_zh.md / demo.png / src/modal/copy-to-clipboard-confirm-modal.ts

README file from

Github

Cook your notes like a chef: pick the ingredients, fire the pan, confirm before it's served ✅

中文文档

File Cooker

File Cooker is an Obsidian plugin for batch file operations. Treat a batch of files (from search results, clipboard, current file links, Dataview / Bases queries …) as ingredients, then run a single command to move, rename, edit properties, delete, merge, sync to flomo, or add to Canvas — like cooking them in one pan.

  • 🧺 Any source: clipboard · current file · search results · Dataview query · Bases query · context menu
  • 🍳 Rich operations: move / rename / edit properties / delete / merge / create / sync to flomo / copy links / add to Canvas
  • 🛡️ Confirm before acting: every operation shows a confirmation modal; destructive ones (delete) are highlighted in red
  • 📱 Mobile friendly: not desktop-only (isDesktopOnly: false)

✨ Features

  • Batch edit properties: add / modify / delete frontmatter properties; tags / alias / cssclasses support comma-separated multi-value edits and - prefix to remove a single value; no MetaEdit plugin needed (built-in since v1.8.0)
  • Batch move / rename: organize selected files into a target folder or rename them in one go
  • Batch merge: merge multiple files into one target file (YAML ignored)
  • Batch create: materialize unresolved links of the current file into real files
  • Sync to flomo: sync file links, file content, or current selection (requires flomoAPI)
  • Copy links: copy Dataview / Bases result links to the clipboard
  • Add to Canvas: batch-add files, text / selection, or Dataview tasks into a target canvas
  • Bases integration (new in v2.0.0): run file operations directly on Bases query results
  • Context menu (new in v2.0.0): right-click access from editor and file explorer
  • Presentation mode (new in v1.9.0): one-click larger font and wider editor for screen sharing

📸 Screenshot

Demo: search results + clipboard + Dataview query — all sources share the same "Select → Cook → Confirm" flow.

🍳 How it works: Select → Cook → Confirm

  1. Select: pick a batch of files from any supported source
  2. Cook: run the matching operation command
  3. Confirm: review the targets in the confirmation modal, then execute

Supported input sources

Source How to use Notes
📋 Clipboard Copy file links (e.g. search results) first, then run clipboard commands Plain text content can also be added to Canvas
📄 Current file Open a file, then run current-file-link commands Reads links / unresolved links / content / selection
🔍 Search results Open the Obsidian search panel, then run search results commands Operates directly on the results in the panel
📊 Dataview query Select a DQL or DataviewJS query in the editor, then run Dataview commands Requires the Dataview plugin; DataviewJS supported since v1.7.1
🗄️ Bases query Open a Bases view, then run Bases commands New in v2.0.0; only rows mappable to real files are processed
🖱️ Context menu Right-click in the editor or file explorer New in v2.0.0

Supported operations

Operation Example command Notes
📁 Move Move ... to folder Batch move to a target folder
✏️ Rename Rename ... Batch rename
🏷️ Edit properties Edit Properties ... Add / modify / delete frontmatter, multi-value supported
🗑️ Delete Delete ... ! Destructive — highlighted red in the confirmation modal
🔗 Merge Merge ... to ... Merge into a target file
🆕 Create Create links ... Create files from unresolved links
📤 Sync to flomo Sync ... to flomo File links / content / selection
📋 Copy links Copy ... links! Copy result links to the clipboard
🖼️ Add to Canvas Add ... to canvas Files / text / tasks

Bases integration (new in v2.0.0)

When a Bases data source is available, File Cooker provides a Bases command group aligned with the Dataview file commands (move / rename / edit properties / delete / merge / sync to flomo / copy links / add to canvas / add task).

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

Context menu (new in v2.0.0)

  • Editor context menu:
    • File Cooker > Selection: sync the selection to flomo / add it to a canvas (only when a selection exists)
    • File Cooker > Current file links: run link-based batch operations from the current file
  • File explorer context menu:
    • File Cooker > Target file: rename / edit properties / delete the right-clicked file

Notes: destructive actions (like delete) still require confirmation. If no active file exists, current-file-link operations are safely blocked with a notice.

⚙️ Settings

Setting Purpose Default
Limit Maximum number of files processed per batch 300
flomoAPI flomo API endpoint, used to sync notes to flomo empty

flomo sync commands will notify "Please config flomoAPI first!" when the API is not configured.

📦 Installation

  1. Settings → Third-party plugin → turn off Safe mode
  2. Click Browse, search for File Cooker
  3. Click Install, then enable the plugin

Method 2: Manual installation

  1. Download the latest release
  2. Extract the obsidian-file-cooker folder into <vault>/.obsidian/plugins/

    Note: on some machines the .obsidian folder is hidden. On macOS press Command+Shift+Dot to reveal it.

  3. Reload Obsidian and enable the plugin in Settings

Requirements

  • Obsidian ≥ 1.12.3 (since v2.0.0)
  • Dataview plugin: only needed for the "Dataview query" source
  • flomoAPI: only needed for "Sync to flomo" commands
  • Everything else works out of the box with no extra dependencies

🛡️ Safety & limits

  • Always confirm: every command opens a confirmation modal before any change is made
  • Delete is highlighted: delete commands are marked in red in the confirmation modal
  • Batch limit: a single batch is limited to 300 files by default (adjustable in Settings)
  • Visible failures: no files, no active file, missing config, etc. are always reported via Notice — never silently

💬 Feedback & support

Questions or suggestions? Feel free to add me on WeChat: IvyOdds, or open an issue on GitHub Issues.

If File Cooker helps you, please share it with your Obsidian friends 🙏

📜 License

  • MIT License — see LICENSE
  • Issues and pull requests are welcome

📝 Changelog

2.0.0

  • New Bases query source for batch file operations (file-only rows; no Bases field writes)
  • New context menu entries (editor: selection / current file links; file explorer: target file)
  • Upgraded Obsidian dependency to 1.12.3

1.9.0

  • New presentation mode: one-click larger font and wider editor for screen sharing

1.8.1

  • Multi-value property editing: tags / alias / cssclasses batch add/remove via comma-separated values

1.8.0

  • Built-in batch property editing — no MetaEdit plugin required

1.7.8

  • New search results commands, operate directly on the search panel results

1.7.7

  • Add Dataview tasks to Canvas

1.7.6

  • Add text to Canvas

1.7.1

  • Support DataviewJS page queries

1.7.0

  • Batch-add files to Canvas

1.0 ~ 1.6

  • Core capabilities: move, rename, merge, delete, create from unresolved links, sync to flomo, copy links

☕ Buy me a coffee

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Advanced New File
5 years ago by Ivan Chernov
Create file in chosen folder
Aggregator
4 years ago by SErAphLi
This plugin helps you gather information from files, and make a summary in the file.
Auto File Organizer
2 years ago by mofukuru
Obsidian plugin: Automatically organizes files into folders based on their extensions.
Automatically reveal active file
6 years ago by Matt Sessions
Obsidian plugin to reveal the active file automatically when you open a file
Bellboy
4 years ago by Shaked Lokits
Opinionated file structure manager for the Obsidian knowledge base.
Checklist
6 years ago by delashum
Confluence Link
2 years ago by Razvan Bunga
Convert obsidian md file into confluence pages
Course Module Loader
a year ago by Sebastian Kamilli
Downloads and unzips course module zip files from a URL into a specified vault folder, skipping existing files.
Easy Bake
3 years ago by mgmeyers
Compile many Obsidian notes down to one.
Edit Gemini
4 years ago by Basil_Mori
Emo
4 years ago by yaleiyale
Use image/file hosting in Obsidian by clipboard or draging file. Obsidian 图床聚合 & Github上传器
Ffmpeg Converter
2 years ago by MrAnyx
Convert your assets into other formats. Convert, Compress and Optimize your vault
File Cleaner
5 years ago by Johnson0907
A file cleaner plugin for Obsidian.
File Color
4 years ago by ecustic
An Obsidian plugin for setting colors on folders and files in the file tree.
File Diff
3 years ago by Till Friebe
View the difference between two files within Obsidian.
File Explorer Note Count
5 years ago by Ozan Tellioglu
Obsidian Plugin for viewing the number of elements under each folder within the file explorer
File Manager
2 years ago by Juan Sicilia
A file manager plugin for Obsidian
File path to URI
6 years ago by Michal Bureš
Convert file path to uri for easier use of links to local files outside of Obsidian
File Tree Alternative
5 years ago by Ozan Tellioglu
This Obsidian Plugin allows users to have a different file explorer experience.
File Tree Generator
3 years ago by Unarray
An Obsidian extension to generate a file tree using callouts!
Find orphaned files and broken links
6 years ago by Vinzent
Find files, which are nowhere linked, so they are maybe lost in your vault.
Fold Properties
2 years ago by James Alexandre
Adds Fold/Unfold Properties Function to Folder Context Menu
Folder Tabulation
2 years ago by SpeedaRJ
An open source plugin for obsidian that let's you treverse local folder structure via keybindings and commands.
Get Info
5 years ago by Chetachi
A small menu that is tucked inside your status bar and shows helpful information for your chosen file 📄.
Git Url
3 years ago by khuongduy354
Home tab
4 years ago by Renso
A browser-like search tab for your local files in Obsidian.
Image Collector
3 years ago by tdaykin
Incomplete files
3 years ago by Hananoshika Yomaru
Rule based incomplete files discovery
Janitor
4 years ago by Gabriele Cannata
Performs various maintenance tasks on the Obsidian vault
JSON-CSV Importer
2 months ago by farling42
Plug-in for Obsidian.md which will create Notes from JSON files
Local File Interface
5 years ago by qawatake
An Obsidian plugin to provide commands for moving files in and out of the vault
Metadata Menu
4 years ago by mdelobelle
For data management enthusiasts : type and manage the metadata of your notes.
Modal Opener
2 years ago by Muuxi
Open files and links in modal windows, or create and edit compatible files in modal windows.
Nav Weight
2 years ago by shu307
A simple plugin designed to sort files in navigation based on markdown frontmatter (also known as metadata) for Obsidian.
Neighbouring Files
3 years ago by Fabian Untermoser
Obsidian Plugin to navigate to the next and previous file in the current directory
Nuke Orphans
4 years ago by Sandorex
Obsidian notes plugin that trashes orphaned files and attachments
Open files with commands
4 years ago by Lost Paul
Create commands that only open one file at the time and that can be used with the commander plugin.
Open in GitHub
a year ago by Muurphy Chen
This is an Obsidian plugin designed to open project or files directly in GitHub via your browser.
Open In New Tab
3 years ago by patleeman
Redirect
4 years ago by Jacob Levernier
An Obsidian plugin for adding aliases to any file
Remember File State
5 years ago by Ludovic Chabant
A plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file.
Review Notes Plugin
4 years ago by tjandy98
Ruled template
3 years ago by YPetremann
An obsidian plugin that check rules to select which template to use.
Sort Frontmatter
3 years ago by Kanzi
Sort frontmatter automatically
Static File Server
5 years ago by Elias Sundqvist
Serve obsidian vault subfolders with a static web server
Structured Tree
2 years ago by Marius Svarverud
A file explorer for navigating hierarchical notes separated by '.'
Symlink Creator
2 years ago by Tobias Heidler
A plugin for Obsidian that allows the creation of symlinks - for Windows, OS X and Linux only!
SyncFTP
3 years ago by Alex Donnan
An Obsidian.md plugin that allows users to add their own SFTP host and credentials to sync to and from.
Tags Overview
3 years ago by Christian Wannerstedt
Obsidian plugin which adds an extended tags panel where tagged files can be overviewed, filtered and accessed in an easy way.
Weekly Review
4 years ago by Brandon Boswell
🪝 Grappling Hook
4 years ago by pseudometa
Obsidian Plugin for blazingly fast file switching. For those who find the Quick Switcher still too slow.