How do I get the full path for a file in finder?
I look for a file in finder, finder finds it. But, I'd like to find it's full path. How do I do that?
You can also enter the following in Terminal:
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
thenkillall Finder
This will display the full path in the titlebar.
to turn it back off change the -bool YES
to NO
Or if you want to copy the text of the path you can drag the file into Terminal.
⌥ ⌘ c while file is highlighted to copy its path to the macOS clipboard.
(option-command-c)
Easier than all of these by a long shot, IMO.
Command-C on the file to copy, and Command-V on the command line in Terminal. Or drag the file to the Terminal window
There are a few ways:
-
Right-click the folder name in the top of the window
-
In the Finder choose "View > Show Path Bar"
Use Go2Shell to open a terminal window at that location
In Finder...
- Select a file
- Choose "View > Show Path Bar"
- Right-click the Path Bar file name (or file icon)
- Select "Copy as Pathname"
- Paste the Pathname where you desire