Skip to content

Instantly share code, notes, and snippets.

@nashid
Created August 15, 2023 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nashid/0f40f6fdd59cb0b8ba48febd0f021910 to your computer and use it in GitHub Desktop.
Save nashid/0f40f6fdd59cb0b8ba48febd0f021910 to your computer and use it in GitHub Desktop.
Show file path in the mac finder

How do I get the full path for a file in finder?

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
then
killall Finder

This will display the full path in the titlebar.

path

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment