Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Batch Copy Names and Paths

雷士电雷士电26 downloads

Copy the names, vault-relative paths, absolute paths, wiki links, Markdown links, and Obsidian URIs of multiple selected notes to the clipboard at once.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

Copy the names, vault-relative paths, absolute paths, wiki links, Markdown links, and Obsidian URIs of multiple selected notes to the clipboard in one go.

Obsidian's file explorer has no copy action for a multi-selection: right-click a selection and the context menu offers only New folder and Delete. The native Copy current file path commands act on the active note only. This plugin fills that gap.

Installation

From Obsidian (once listed in the community directory)

Open this link, or search for Batch Copy Names and Paths under Settings → Community plugins → Browse:

obsidian://show-plugin?id=batch-copy-paths

Manually

Download main.js and manifest.json from the latest release into <vault>/.obsidian/plugins/batch-copy-paths/, then enable the plugin under Settings → Community plugins.

With BRAT

Add zhaoscsc/obsidian-batch-copy-paths as a beta plugin.

Usage

  1. In the file explorer, Option-click (macOS) or Alt-click (Windows/Linux) to select individual notes, or Shift-click to select a range.
  2. Right-click any item inside the selection.
  3. Pick a format. Each item is copied on its own line by default.
Format Example
Vault-relative path Notes/meeting-notes.md
Note name meeting-notes
File name meeting-notes.md
Absolute path /Users/you/Vault/Notes/meeting-notes.md
file:// URL file:///Users/you/Vault/Notes/meeting-notes.md
Wiki link [[meeting-notes]]
Markdown link [meeting-notes](Notes/meeting-notes.md)
obsidian:// URI obsidian://open?vault=Vault&file=Notes%2Fmeeting-notes.md

Right-clicking an item that is not part of the selection falls back to Obsidian's single-file menu, so only that one item is copied. That is native behaviour.

Folders

Folders deliberately do not get these options. If the selection contains no files at all, no menu entries are added. In a mixed selection, folders are filtered out — see Skip folders below.

Settings

Setting Default Description
Menu layout Flat Show every format directly, or nest them under one Batch copy submenu.
Show item count On Append (N items) to the menu labels.
Formats Vault-relative path, note name, absolute path Which formats appear in the context menu.
Separator New line Also comma, ideographic comma, space, or custom.
Sort Selection order Or by name, or by path (Chinese collation aware).
Skip folders On Drop folders from mixed selections.
Normalize to NFC On Avoids the macOS NFD/NFC mismatch on non-ASCII filenames.
Show notice On Confirm after copying.

This plugin registers no command palette commands. Everything lives in the file explorer context menu.

Requirements

  • Obsidian 1.4.10 or later (files-menu, the event for a multi-selection context menu, was added in that version).
  • Desktop only. Copying uses Electron's clipboard, which keeps working when the window is not focused.

Implementation notes

  • The selection is read from the file explorer's internal tree.selectedDoms set, falling back to a DOM query. Cost stays proportional to the selection rather than to the vault size, and rows scrolled out of view are still included.
  • Absolute paths come from adapter.getFullPath(), not from string-concatenating basePath.
  • tree.selectedDoms and MenuItem.setSubmenu() are not part of the public API. Both are feature-detected, and the plugin degrades gracefully (DOM fallback, flat menu) if they change.
  • Settings are described once and rendered by two paths: getSettingDefinitions() on Obsidian 1.13.0+, where Obsidian handles rendering, settings search and persistence; and the classic display() tab on older versions, which Obsidian 1.13+ skips. Both derive from the same descriptor list, so they cannot drift apart.
  • No network access, no telemetry.

Privacy

Everything happens locally. The plugin makes no network requests and collects no telemetry, and it does not read your notes. Its only interaction outside Obsidian is writing to the system clipboard, which is the entire point of the plugin: it writes only the strings you explicitly asked it to copy, and it never reads existing clipboard contents.

Development

npm install
npm run build       # builds main.js into the repository root
npm run typecheck

Set VAULT to also deploy the build into a vault for local testing:

VAULT="/path/to/vault" npm run deploy

main.js is a build artifact and is not committed. It is attached to each GitHub release, which is what Obsidian downloads.

Source layout:

main.ts      plugin entry: event wiring, menu construction
formats.ts   format registry — a new format is one entry here
settings.ts  settings type, defaults, and the settings tab

License

MIT. See LICENSE.


中文速览

在文件列表里 Option/Shift 多选笔记 → 在选中范围内右键 → 一次性把所有选中项的名称或路径复制到剪贴板。

  • 8 种格式:相对路径、笔记名、文件名、绝对路径、file:// 链接、双链、Markdown 链接、Obsidian URI
  • 文件夹不出这些选项:选中集里没有文件时整个菜单不挂条目;混选时文件夹按设置被过滤
  • 不注册任何命令面板命令,功能只在右键菜单里
  • 它的用途:以前要让 AI 处理一批笔记得挨个复制文件名/路径,现在多选一次拿到整批清单,粘给 AI 就能让它调子 agent 批量并行处理——本质是「人 → AI 的批量接口」
  • 设置面板同时支持两条路径:Obsidian 1.13.0+ 走声明式 API(设置可被设置搜索检索),旧版本走经典 display();两者由同一份描述生成
  • 仅桌面端,需要 Obsidian 1.4.10+;无联网、无遥测
HealthExcellent
ReviewPassed
About
Copy names, vault-relative paths, absolute paths, wiki links, Markdown links, and Obsidian URIs for multiple selected notes to the clipboard in one action. Select multiple files in the file explorer, right-click the selection, and choose a format to copy each item on its own line.
FilesLinks
Details
Current version
1.1.1
Last updated
23 hours ago
Created
Yesterday
Updates
5 releases
Downloads
26
Compatible with
Obsidian 1.4.10+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
雷士电雷士电zhaoscsc
GitHubzhaoscsc
  1. Community
  2. Plugins
  3. Files
  4. Batch Copy Names and Paths

Related plugins

Advanced URI

Control everything with URI.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Note Refactor

Extract note content into new notes and split notes.

Custom Attachment Location

Customize attachment location with variables($filename, $data, etc) like Typora.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)