Practical tips help you use Apple stuff   Subscribe through Feedburner

Subscribe by Email · Subscribe to the MacTips feed · Follow MacTips on Twitter. · Follow us on YouTube. · Join MacTips on Facebook.

Looking for something in particular? A simple search is your best bet:

Or try the Categories and Tags page.

View the Path of a File

The Path Bar quickly shows where a file is and gives you speedy access to any folders in the file’s path.

View the Path of a File
Mac Tip #359, 08 October 2008

Show Path Bar

Choose Show Path Bar

Sometimes when you’re looking at a file or folder in the Finder you want to know just exactly where it is. It’s not always obvious just by looking.

Mac OS X 10.5 introduced an extra item to the View menu though that helps out: Show Path Bar.

Choose Show Path Bar and then go to a Finder window and select a file.

Now at the bottom of the window you can see a ‘trail’, similar to this one from my machine:

Pluto > Users > miraz > Documents > ngpod > mexhat.jpg

Command click the name in the Title Bar

Command click the name in the Title Bar

This tells me that the file named mexhat.jpg is in a folder called ngpod in my Documents folder. My username is miraz, and my machine is named Pluto.

Switch to Column view

Switch to Column view

Each item in the file path in that Path Bar also acts as a button. In my example, if I double click on the Documents part of the file path I switch to viewing the Documents folder.

Of course, there are other ways to see where the file resides on the hard drive:

  1. Command click the name in the Title Bar: a dropdown menu displays the file path.
  2. The Get Info window  shows the file path

    The Get Info window shows the file path

    Switch to Column view: you can see the file’s path by the columns to the left of it.
  3. Select the file and choose Get Info from the File menu. The Info window opens. In the General section of the Info window the Where item shows the file path.

So next time you can see a file but you’re not sure where it is exactly just glance down at the Path Bar if it’s displayed, or use one of the other methods I’ve mentioned above.

Did I miss any possibilities? Let me know in the Comments below.

See more from: Finder,Leopard,Mac Tips

It's great to see you visiting again! Have you tried the free MacTips updates via RSS or email, MacTips on Twitter and our YouTube channel? There may be more Tips on this topic. We'd love your Comments too.

Tell us what you think.
Note: there may be a delay before your comment appears. I now approve all comments from new visitors, in an attempt to keep spam at bay.

* 14 comments… read them below and tell us what you think.

Ira 1 12 November 2008 at 17:52:23

Sure, sounds good but where do you go to actualy choose the option of “Show Path Bar?”

Reply

Miraz Jordan 2 12 November 2008 at 18:31:25

Ooops, sorry about that. In Leopard’s Finder choose Show Path Bar from the View menu.

Thanks for reading.

Reply

Lauren 3 27 January 2009 at 10:13:42

How would you go about copying it to the clipboard? None of those options are text-selectable on my machine.

Reply

Miraz Jordan 4 28 January 2009 at 18:41:50

Well, there’s one sneaky, but easy way to do it. Have the enclosing folder open in Finder. Open Terminal (in Applications – Utilities). Drag the file whose path you want to copy into the open Terminal window. The path is entered for you.

For example, I dragged About Stacks.pdf from my Documents folder into a Terminal window. This was what I saw:

/Users/miraz/Documents/About\ Stacks.pdf

Another option involves buying and installing the most excellent Finder replacement called PathFinder. Control Click on a file and choose from the Contextual menu to Copy Path. You’re given a choice of 6 different formats, including Unix, HFS and so on.

PathFinder is totally worth it for many other reasons, but if you often need to copy a file path, then it would be a good choice.

You know, there’s probably also an Automator action you could set up…

Cheers,

Miraz

Reply

ryan 5 1 April 2009 at 11:56:27

This is why macs suck. Why don’t they just build that in. Removing functionality doesn’t always make things more usable. I understand the duality between usibility and flexibility, but this is ridiculous.

Another thing. When the hell are they going to put a “show desktop” button to minimize all windows. Seems like a very simple thing that they forget in all new versions of macs.

Reply

ryan 6 1 April 2009 at 11:58:08

Oh, and yes that is great that you can copy a path the the clip board by using these ridiculous methods. However, it would be nice if you could paste it somewhere to go directly to the directory.

Reply

Miraz Jordan 7 1 April 2009 at 12:40:21

Ryan wrote: “Another thing. When the hell are they going to put a “show desktop” button to minimize all windows. Seems like a very simple thing that they forget in all new versions of macs.”

Why do you want to minimise all windows Ryan? If you want an ‘uncluttered’ view of the Desktop press F11 to move all windows out of the way. They all ‘minimise’ themselves to the sides of the screen. Press F11 again to bring them back.

Remember that if you’re using a laptop you may need to also press the fn key, depending on the settings you’ve chosen in System Prefs.

To go directly to a directory while an Open or Save dialog is open – eg to go directly to ~/Documents/iChats – press Command Shift G. A text area appears where you can type or paste an address, such as ~/Documents/iChats. Press the Go button and there you are.

I hope that helps.

Reply

Miraz Jordan 8 1 April 2009 at 12:45:18

Ryan, also remember that if you want full access to all the power features hidden under the hood, with no constraints, there’s nothing to stop you from using the Command Line via Terminal.

There’s plenty of flexibility in the Mac OS, for both users who want the minimum interface, fuss and bother, to those who want to control everything.

If I open a Terminal window and type “open ~/Documents/iChats” then press Return, a Finder window pops open, displaying the contents of that folder.

Reply

sarah 9 19 September 2009 at 01:13:59

thanks for the tips. i’m shocked that the only way you can copy and paste a file path is via the terminal. i need to do this a lot and it seems insane. also can’t handle spaces in file or folder names.
one other way i’ve found for those using office 2003 and excel is view/toolbars/web.
that gives a file path in the address field of the toolbar which can copy and paste. they got rid of this in later versions of office i believe which is a shame.
Sarah

Reply

mike 10 12 January 2010 at 11:36:10

try using Bridge with the BrowseBar2.
http://www.adobe.com/cfusion/exchange/index.cfm?event=productHome&exc=20&loc=en_us
I was a little buggy, but it works

Reply

Dave 11 2 March 2010 at 19:34:13

There’s also this, which I actually prefer even more:

http://www.mactricksandtips.com/2008/01/enabling-folder-path-in-finder.html

Reply

Miraz 12 3 March 2010 at 08:11:48

It’s good to know about that one Dave. Thanks.

Reply

Brian Forbes 13 21 July 2010 at 09:43:28

I just bought a Mac and can tell you that the ridiculous amount of clicking just to locate and save files is a HUGE TIME WASTER. Under Windows, I had an explorer (finder) window open with a path to a folder that I needed to open from and save to while moving between programs. It was this simple, copy the path, save from the program, paste path into the name field, hit enter, guess what? I’m in the right folder and I just hit save. If I didn’t copy or paste anything in a program, then the path remained on my clipboard – too easy.

So this is totally cracked out and should be fixed. Btw 10.6.x there is no “show path” option.

Reply

Miraz 14 26 July 2010 at 14:58:24

Brian,

I’m running 10.6.4 and Show Path Bar is right under the View menu when I have a Finder window open.

I solve the problem you mention above with the most excellent Default Folder X

http://www.stclairsoft.com/DefaultFolderX/

It allows me to click on any folder that’s already open to have the file saved there. It also gives easy access to recent folders, favourite folders, and preferences about where to save files in various circumstances.

I’ve been using it for years and hate to be without it.

Reply

Add your Comment

click here