101

I'm used to knowing where all my files are. Is there a way to get an address bar to show up in Finder in OS X (10.5+) like in Explorer in Windows or Nautilus in GNOME?

I also want to be able to copy the address bar. Perhaps the workflow is different on a Mac, but I'm used to throughly sorting my files under many layers of folders and then when I need to upload or download something, or access a file in command line or etc, I can copy and paste that directly into the file dialog.

To clarify, my goal is to have an experience like in Windows: press CtrlD (CmdL) and CtrlC.

  • It might help; you can drag your file from the Finder to the Open dialog to change the directory in the dialog to that file's directory (eg. for uploading a file) – Chealion Aug 10 '10 at 21:29
  • I have an issue with my trackpad which makes dragging especially difficult. – wag2639 Aug 14 '10 at 8:37
  • 1
    You can drag a file into Terminal to print its path at the cursor. This will work with lots of other dialogs as well. I'd really get the dragging trackpad thing figured out; it's really a pretty important action in OS X. – NReilingh Aug 21 '10 at 16:29

12 Answers 12

51

This feature is not available "as is" in Finder.app.

Instead, typing the path to a folder/file is done via cmdshiftg as pointed by @snk, displaying the path of your current location can be enabled with this one-liner in Terminal.app:

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

copying the path can be done with the contextual menu plugin mentioned by @ridogi.

| improve this answer | |
41

The solution to your problem is FinderPath. Install it and then just double-click on the top of the window, where its name is shown. Or, you press CmdG. Voilà!

It is compatible with macOS Sierra.

| improve this answer | |
  • 4
    It does works on mavericks the only thing is that in order to configure the assistive devices you have to go to another menu which is System Preferences > Security & Privacy > Privacy > Accessibility and there you have to grant access to the desired apps – Cams Dec 1 '14 at 20:48
  • This works perfectly. Makes navigating to the right file or directory by keyboard a zillion times faster. It's really shameful that Apple doesn't include this essential feature by default. – Miscreant Jun 28 '17 at 16:47
6

It is simple. Just go to finder. Click on view. Select Show Path Bar or press the button alt + command + P.

See the image how you will enable Path Bar:

enter image description here

Once you have enables you can see Path bar at bottom of the window as the image below:

enter image description here

| improve this answer | |
5

Regarding your edit: Just use the open command in Terminal.

open . will open your current working directory in Finder, open .. the parent directory, etc.


In the other direction, you can use the proxy icon (the folder icon in the Finder title bar). Drag it into a Terminal window and the path to the folder will get inserted at the current cursor location.


These approaches handle Terminal/Finder exchanges. With the ability to drag/drop files and folders onto open/save dialogs, the Go To Folder command in Finder, and the ability to navigate the folder hierarchy in Finder by Command-clicking the proxy icon, and the Go menu in Finder, there is little missing you might need for navigation. It's different from Windows, but works just as well.


You can use Automator to create a Service that takes no input in Finder or any application and performs the following in a Run AppleScript action:

tell application "Finder"
    set topWnds to every window whose index is equal to 1 as list
    set cwd to target of first item of topWnds as alias
    tell application "Terminal" to activate
    tell application "System Events"
        keystroke "t" using {command down}
        keystroke "cd " & (POSIX path of cwd) as text
        key code 36
    end tell
end tell

Not too elegant, but it gets the path of finder's frontmost window, opens a new Terminal tab, and uses cd to get there.


You can additionally use the clipboard utilities for the command line: pbcopy and pbpaste. You can pipe any path into pbcopy and access it from GUI utilities, e.g. the Finder's Go to Folder... command.

| improve this answer | |
3
  • Choose file
  • Open context menue with the right mouse button
  • And now push the "alt"-key
  • Options are changing and you can copy the path

enter image description here

| improve this answer | |
2

Check out DTERM. It allows you to quickly open a prompt to the current location. From there you can easily use an alias to copy the $PWD (echo $PWD | pbcopy), run a command on local files, and many other actions.

I find it very helpful in tying the Unix side of Mac OS X in with the graphical side.

| improve this answer | |
  • code.google.com/p/cdto also does this. – ridogi Jan 31 '11 at 6:56
  • @ridogi while that looks useful they aren't quite the same. DTERM's terminal is more of a Heads up Display then a full terminal. Though with a quick key press you can spawn it off into it's own terminal. Also it has the capability of knowing what you have currently selected in finder and the ability to paste the file names. – Tabitha Feb 1 '11 at 17:43
2

The simple answer is no, there is no location bar in finder. No simple/easy way to copy and paste a path to a working directory.

| improve this answer | |
  • Apple knows better that you how you should use your computer. If you find it impossible to navigate to / you should decide you need to navigate elsewhere. – jeremyjjbrown Jul 25 '18 at 14:55
1

If you Command+Click the title bar it will show a hierarchy of what directory you are in.

Here is a screenshot of it in action:

Command+Clicking Finder title bar

EDIT: Sorry, I didn't read the part about wanting to copy the path. If you are comfortable with the Terminal.cd into a directory and run pwd | pbcopy and you will have the current path in your clipboard.

| improve this answer | |
  • 1
    I don't think that's what wag2639 is looking for as he wants to be able to copy the path – Vervious Oct 8 '10 at 22:31
  • I changed my answer accordingly. I hope it helps. – Wuffers Oct 8 '10 at 22:33
0

There is a contextual menu plugin called FilePathCM tha will get you the same result with a right click instead of a keyboard shortcut but it doesn't show a location bar.

http://www.limit-point.com/Utilities/FilePathCM.html

| improve this answer | |
  • this app apparently doesnt work anymore – Chris McGrath Jan 23 '12 at 6:55
0

I think the best you can do without third-party software is to open an inspector window (option-command-I), which shows you the properties/"Get Info" of the currently selected item, and copy-paste from the "Where:" line. You can size the window down to be less obtrusive.

| improve this answer | |
0

The path bar might be a good alternative. The path bar shows in which folder you are and let's you navigate back fastly. Unfortunately it doesn't let you copy paste an address directly.

How to show the path bar:

From Finder's View menu, check off "Show Path Bar" to turn on a clickable "breadcrumb" file path bar at the bottom of your Finder window, as shown. There you can click on any of the parent folders up the path of your current folder to navigate to it.

| improve this answer | |
  • 1
    That's something. But it would be so nice if that was editable to quickly move between folders without always having to click. – dorien Jan 17 '17 at 2:40
0

You can also browse files and directories in a web browser this way on a mac:

file:///Volumes/Production/NBAA/17-379%20EBACE%202018/

file:///Volumes/Macintosh%20HD/Users/[userFolder]/Documents/
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.