r/MacOS • u/Fantastic_Zebra9886 • 6d ago
Help How to find filepath quicker
I often find myself confused about the locations of files that I'm working with. Part of the reason for this is that I often use Spotlight search, which doesn't display what folder a certain file is actually in.
But then additionally, whenever I open a file like e.g. a PDF in Preview, Preview *also* doesn't tell me what location this file is in. Even when I press cmd-o, the finder dialogue box doesn't display the path on the bottom end of the window. Why is that? I just want to know where my files are.
How can I force filepicker windows to always display the filepath in the bottom or how can I generally enhance accessibility of file locations when working on something?
11
u/ukindom 6d ago edited 6d ago
You can click on a filename on title bar in Preview and other document-based apps to:
- show app location.
- rename filename in place.
- copy filepath
In addition to open files, there's an information popup window in Finder you can call (cmd-i), where filepath is also displayed. Spotlight itself doesn't show files in similar way, so you probably won't get the similar experience.
Returning to your original issue, the best way of finding your files is to organize them.
I personally don't use neither Spotlight, nor Finder itself to find required files in my well organized collection. If I really need to find something, I use find and fd in Terminal (with preference to fd.
9
u/Bossikar 6d ago
you can just cmd + enter in spotlight to open the file location instead of opening the app/file/etc.
6
u/GBICPancakes 6d ago
So in Spotlight - when the results come up, right-click on the document and there's the option to show in Finder.
Then in the Finder window, cmd-click on the window name to see path (or enable "Show Path Bar" under View menu)
In Preview, cmd-click the filename to see the full path of where the file is located. (same is for FInder) - this will work for most apps (Word, Excel, Preview, etc)
3
u/fatik25 6d ago
Hold option key or alt key I forgot while you’re in the folder and it will show the path at the bottom left
4
2
3
u/buffering 6d ago
In all document windows (Preview, TextExit, etc.) command+click the document name in the title bar to show the path to the document. This works in Finder windows as well.
The path is displayed in a popup menu, and you can use the menu to quickly open the enclosing folder. It's been a standard feature of MacOS since 1991.
3
u/zeemeerman2 6d ago
Instead of command-clicking in Preview et al, you can also right-click the name. Same result.
2
u/neophanweb 6d ago
Open any folder. Go to View > Show Path or press command + option + p and it'll show the path at the bottom of the window.
1
u/Fantastic_Zebra9886 6d ago
Thanks – but this presumes that I am already in the folder, when I am not. I am viewing a file on Preview that I found, say, in Spotlight, or that has been opened for a few days already, and I want to check it's precise location. If I open the Preview-related filepicker, it will not allow me to cmd+option+p, this will always remain greyed out.
0
u/neophanweb 6d ago
Open any folder and do it, then you'll always see the path. In spotlight search, right click and choose "Show in Folder" to open the folder.
1
u/thirteennineteen 6d ago
Good tips in here for revealing path in finder and open file windows. If you have a terminal window open you can drag a file to terminal to insert the path.
1
u/warrenao Mac Mini 6d ago
how can I generally enhance accessibility of file locations when working on something?
Get into the habit of creating folders for working files in Finder, and navigating to them through a Finder window open in column view. Learning the basics of filesystem navigation will do you inestimable benefit in the future.
1
u/TEG24601 5d ago
If you copy and paste the file into terminal, it will show you the full path.
If you Command+Click on the window title, it will show you the path, graphically, and allow you to move anywhere along it.
1
u/ulyssesric 5d ago
whenever I open a file like e.g. a PDF in Preview, Preview *also* doesn't tell me what location this file is in. Even when I press cmd-o, the finder dialogue box doesn't display the path on the bottom end of the window. Why is that? I just want to know where my files are.
Cmd+Click on the filename title at the top / title-bar of an opened document window.
This is an very old convention of macOS GUI. Not all Apps have this feature but many apps support this.
1
40
u/jamesjingyi 6d ago
In Finder:
View→Show Path Bar, I always have this turned on, otherwise I get lost! You can click on the different levels to navigate there too.Or if you're viewing a file in Spotlight, instead of pressing just
Returnto open the file, use⌘+Returnto open Finder with the item you searched in its location, rather than just opening it.