Andreas Larsen

Copy Folder Path

Copy file paths in Finder with Shift-Command-C. Supports multi-selection.

brew install --cask andreasnlarsen/tap/copy-folder-path
/Users/you/Projects/website /Users/you/Projects/api /Users/you/Projects/README.md
Example of copying three paths.

Questions

How do I start it?

Open it once after install. Turn on “Launch at Login” in its menu.

Doesn't Finder already do this?

Yes. Option-Command-C copies paths too. From macOS 15 it adds quotes when a path needs them.

This one needs no Option key, writes plain paths and shows a “Path copied” note.

What gets copied?

One path per line. No trailing slash. Files and folders, any number at once.

What if nothing is selected?

It shows “Nothing selected” and leaves the clipboard alone.

Does it take over Shift-Command-C everywhere?

No. Only while Finder is in front. There it replaces Finder's own shortcut for the Computer window.

Why does it ask to control Finder?

To read your selection. Nothing else.

Say no and it copies nothing. Allow it later in System Settings › Privacy & Security › Automation.

Does it send anything anywhere?

No. There's no network code.

What does it need?

macOS 13 Ventura or later. Apple silicon.

Homebrew says “untrusted tap”

Run brew trust andreasnlarsen/tap once. Then install again.

How do I update or remove it?

Update with brew upgrade --cask copy-folder-path.

Remove with brew uninstall --cask copy-folder-path.