How to Find the File Path on Mac

Finding a file's path is a relatively easy on Windows since it shows up in the address bar of Windows Explorer. However, what do you do if you need to get the file path on Mac? Well, there are several simple tricks to do this, and below we will go over all of the convenient ones.

Getting the File Path through the Context Menu

One way to do it is to use Mac's right-click context menu. Find the file you need to use, then right-click it and press Get Info. You will see the full path next to the Where: line.

You can do a similar thing by using Finder. Open Finder and go to View -> Show Path Bar. Now, find the file whose location you want to find and then use Control + Left Click, and then hold the Option key. You will see a context menu – find the option Copy 'FILENAME' as Pathname. Press this to copy the full file path to the clipboard.

Getting the File Path through the Terminal

A more advanced method involves the use of the Terminal. Go to Applications -> Utilities -> Terminal. Then, use these commands in the following order:

  1. Sudo su ­– use it to get administrative rights.
  2. find / -name filename – replace filename with the name of the file you want to find.
  3. You should see a list with results – find the exact filename you were searching for, and you will see the full path.
June 7, 2021

Leave a Reply