Shell Path Copy

by Charles Kelsoe (ckelsoe)
favorite
share
0.0
(0)
5
4
3
2
1
Score: 53/100
Description

The Shell Path Copy plugin makes it easier to copy file and folder paths in formats that match your target system, whether you're working on Windows, macOS, Linux, or even a mobile device connected to a remote server. It integrates directly into the right-click menu and command palette, offering relative paths, absolute paths, and file:// URLs, all formatted appropriately for the platform. You can configure which options appear, choose how paths are wrapped to handle spaces, and get visual confirmation when a path is copied. This helps avoid manual edits when pasting into terminals, scripts, or AI assistants like Claude Code or Gemini CLI.

Reviews
No reviews yet.
Stats
9
stars
2,659
downloads
0
forks
189
days
12
days
15
days
3
total PRs
0
open PRs
1
closed PRs
2
merged PRs
5
total issues
0
open issues
5
closed issues
0
commits
Latest Version
16 days ago
Changelog

Fixed

  • Absolute path copy now works on Windows (#7) — replaced internal Obsidian API (getFullRealPath) unavailable on Windows with the public FileSystemAdapter.getBasePath() + path.join()
  • Windows file:// URLs no longer encode the drive letter colonC: was incorrectly encoded as C%3A, producing invalid URLs

Removed

  • Dropped unreliable file-explorer DOM querying for command palette file detection — relied on internal Obsidian CSS class names that could silently break on Obsidian updates. Command palette commands now require an open file; a clear notice is shown if none is open.

Technical

  • Extracted path-formatting logic into pure functions (path-utils.ts) with no Obsidian dependency
  • Added 37 unit tests covering all path-formatting functions
  • CI now runs the test suite on every push and pull request
  • CI now scans for known deprecated Obsidian API usage
  • Release workflow now runs tests before building — a failing test prevents a release from being created

See CHANGELOG.md for full details.

README file from
Similar Plugins
info
• Similar plugins are suggested based on the common tags between the plugins.
Metadata Menu
4 years ago by mdelobelle
For data management enthusiasts : type and manage the metadata of your notes.
Root Folder Context Menu
2 years ago by mnaoumov
Obsidian Plugin that enables context menu for vault root folder
Show Current File Path
5 years ago by Ravi Mashru
Obsidian plugin to show the file path of the current file in the status bar
Enhanced Image
a year ago by situ2001
Enhance the experience of image in Obsidian, seamlessly.
External File Embed and Link
a year ago by oylbin
Embed and link local files outside your obsidian vault with relative paths for cross-device and multi-platform compatibility.
Context Command Hider
a year ago by Mara-Li
This plugin allows you to hide every command from the Obsidian's right-click context menu.
Pixel Perfect Image
a year ago by Johan Sanneblad
Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, edit image in external editor, and much more.
Sync Vault CE
a year ago by Camus Qiu
The missing bridge between your 10+ TB cloud drive and your AI brain.
Copy Local Graph Paths
a year ago by Amy Z
copy-local-graph-paths is a simple Obsidian plugin that copies the paths of notes linked to your current page.
Hyperlink Remover
8 months ago by Daniel Agafonov
Easily remove hyperlinks and wikilinks from selected text or the entire note.
Copy Path
8 months ago by shumadrid
An Obsidian plugin that adds context menu actions for copying the full and vault relative path of a file/folder.
Open in Cursor
6 months ago by awaken233
An Obsidian plugin to open files in Cursor IDE or other VSCode-based editors (VSCode, Kiro, etc.) with automatic cursor position jumping. 一个可以在 Cursor IDE 或其他类 VSCode 编辑器中打开文件并自动跳转光标位置的 Obsidian 插件。
Tab File Path
6 months ago by John Burnett
HTTP Link Maker
6 months ago by Kenneth Christensen
Create HTTP links for Obsidian notes that work on all your devices
DOCX Exporter
3 months ago by Kanshurichard
An Obsidian plug-in, aiming to help users easily export note content into DOCX format.