How-Tos Productivity Downloads About

Copy a File's Full Path in Finder

A tutorial says paste the file's path into Terminal, and you are typing /Users/yourname/Documents/... by hand, making typos. Finder copies the exact full path in two clicks — no typing, no typos. There is a menu way and a keyboard way.

A person using a real Mac, the screen showing the Finder right-click menu with Copy as Pathname highlighted, fully legible, the person's face focused, home office.

TL;DR / Quick Fix

Quick fix: right-click the file while holding Option and choose Copy as Pathname — the full path lands on your clipboard. Or select the file and press Option+Cmd+C. Paste it into Terminal or any document. For the folder path, do the same on the folder itself.

Follow these steps

  1. Hold Option and right-click. Select the file, hold the Option key, then right-click. The menu gains a Copy as Pathname item that is invisible otherwise.
  2. Click Copy as Pathname. The full path — /Users/you/Documents/file.pdf — is now on your clipboard, exactly as the system sees it.
  3. Learn the keyboard shortcut. Option+Cmd+C copies the selected items' pathnames without any menu. The fastest way once it is muscle memory.
  4. Paste where you need it. Cmd+V drops the path into Terminal, a script, or a document. Terminal accepts it directly as an argument.
  5. Get a folder's path the same way. Option-right-click any folder for its pathname. For navigation context, the path bar shows where you are visually.
  6. Use Get Info as backup. Cmd+I on the file shows its location under Where — slower, but it works when you forget the shortcut.
A person performing step 1: Hold Option and right-click.
Step 1 in action: Hold Option and right-click. Select the file, hold the Option key, then right-click. The menu gains a Copy as Pathname item that is...

What NOT to do

  • Do not type paths by hand. Typos in paths are the top cause of file not found errors in Terminal.
  • Do not confuse the pathname with the file name. The pathname includes every parent folder — that is what makes it unambiguous.
  • Do not paste paths with spaces unquoted in scripts. Wrap them in quotes in Terminal or commands break at the first space.
  • Do not share full paths publicly. They contain your username — trim or anonymize before posting in forums.

Frequently asked questions

What is the difference between Copy and Copy as Pathname?

Plain Copy duplicates the file; Copy as Pathname copies the text of its location. Different clipboards for different jobs.

Why do I not see Copy as Pathname?

You are not holding Option. The item only appears in the menu while Option is down.

Can I copy paths for many files at once?

Yes — select several files and Option+Cmd+C copies all their paths, one per line.

What to read next

About the author

By Juan Ibarra · Google IT Support Certified (Verified on Credly). See the About page for full author details.

Share this guide