Skip to content

Instantly share code, notes, and snippets.

@nashid
Created August 15, 2023 08:16
Show Gist options
  • Save nashid/0f40f6fdd59cb0b8ba48febd0f021910 to your computer and use it in GitHub Desktop.
Save nashid/0f40f6fdd59cb0b8ba48febd0f021910 to your computer and use it in GitHub Desktop.

Revisions

  1. nashid created this gist Aug 15, 2023.
    16 changes: 16 additions & 0 deletions file-path-in-finder.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    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][1]


    [1]: https://i.stack.imgur.com/UbfsC.png

    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.