is there really no way to copy a file path from finder?

seems like a gigantic joke

No, I don't want to drag and drop

This is basic on every platform

I want to copy the path to the clipboard, and nothing else, in a simple way

It should not require more than 1 step


It seems that OSX is completely incapable of this functionality

Correct me if I am wrong.

iMac, iOS 10.3.3

Posted on Oct 3, 2017 4:28 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 3, 2017 6:07 AM

If your destination is a Terminal session, then just Copy (Command-C) in the Finder, and Paste (Command-V) in the Terminal session will provide the full path.


If you want to paste somewhere else, you can write a Finder Service to capture the full path into the Clipboard


Applications -> Automator -> File -> New -> Service

User uploaded file

Set the "Service receives selected" to "files and folders" in "Finder"

Find the "Run Shell Script" action and drag it to the right side

Replace 'cat' with 'echo -n $(cat) | pbcopy'

Save the new Service, giving it a name you can easily find in the "Services" menu.

User uploaded file


Now in the Finder, Control-Click (Right-Click) on a file, go to the bottom of the pop-up menu and select "Services" and now find your Automator service that copies the full path to the clipboard.


If you want to give this service a "Hotkey" keyboard shortcut, then

System Preferences -> Keyboard -> Shortcuts -> Services -> Your_Service_Name

and you can give it a keyboard shortcut

2 replies
Question marked as Top-ranking reply

Oct 3, 2017 6:07 AM in response to horusscope

If your destination is a Terminal session, then just Copy (Command-C) in the Finder, and Paste (Command-V) in the Terminal session will provide the full path.


If you want to paste somewhere else, you can write a Finder Service to capture the full path into the Clipboard


Applications -> Automator -> File -> New -> Service

User uploaded file

Set the "Service receives selected" to "files and folders" in "Finder"

Find the "Run Shell Script" action and drag it to the right side

Replace 'cat' with 'echo -n $(cat) | pbcopy'

Save the new Service, giving it a name you can easily find in the "Services" menu.

User uploaded file


Now in the Finder, Control-Click (Right-Click) on a file, go to the bottom of the pop-up menu and select "Services" and now find your Automator service that copies the full path to the clipboard.


If you want to give this service a "Hotkey" keyboard shortcut, then

System Preferences -> Keyboard -> Shortcuts -> Services -> Your_Service_Name

and you can give it a keyboard shortcut

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

is there really no way to copy a file path from finder?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.