Mac Search Files For Text



Use Mac OS X Spotlight search to find missing files The first point of call for many people is to open Spotlight and look for the file: Press Command-Space to open Spotlight. Search for something On your Mac, click the Spotlight icon (if shown) in the menu bar, or press Command-Space bar or press (if available in the row of function keys on the keyboard).

When you’ve got loads of files — hundreds or even thousands isn’t unusual after a couple of years using the same Mac — it can be difficult to get the correct file path. We attempt to solve this problem in this article for those tired of looking for files and file paths on a Mac.

After trying Spotlight Searches or browsing through files, you might be ready to give up. At times, not knowing the right name can cause software conflicts. But don't despair. There is always a way to locate a file path.

Mac Search Files For Text Images

How to get a file path on a Mac?

To get a basic understanding of where your file is located, just right-click the file.

  1. Right-click the file.
  2. Click Get Info.

Look up what’s written under Where:


The selected area shows the enclosed folder of your document.

How to copy the file path

Copying any text from the previous window isn’t easy, obviously. But still, you need a complete file address that you can copy and paste anywhere. So you do one extra step:

  1. Click on Finder
  2. Click View in the upper bar
  3. Click Show Path Bar

Mac Search Files For Text Messages


Interestingly, the file path will immediately appear underneath the Finder window.

  • Now, Control + Click the file you want the location for
  • Hold the Option key

You will see the new command that has appeared in the context menu — Copy …. as Pathname

  • Click on the selected command

Mac Search File Size

You are now ready to paste. This information is pasted into the Clipboard. Make sure to complete pasting/moving it elsewhere, or this will be lost and you will need to find the folder again.

And that is how to get folder path in Mac. Nice and simple.

How to find the file path using Terminal

Also known as a folder path, or directory path, they aren't always easy to find. When every other method has failed, turn to Terminal as your solution.

  1. Go to Applications > Utilities.
  2. Launch Terminal.
  3. Make sure you are using it as a Super User (which means being logged in as an Admin), so type in sudo su — then press Return.
  4. Now you need to have something of an idea of what this file might be called, so once you do, type in the following (the name in the middle is where you’d put a file name): find / -name randomfilename
  5. Give it time to process the query, which could take several minutes.
  6. A list of names should appear, some or many of which you can ignore as they will be followed by file-end names, such as “operation not permitted”; so focus on the ones that make the most sense, such as: /Library/Application Support/randomfilename/settings/
  7. Now copy and paste the full name and drop it into Finder or Spotlight Search.

Alternatively, you can drag and drop the file onto the Terminal window, and it will show the full path. Hopefully, this will bring you to the file you need.

A shortcut to see unlisted (grayed out) files

Mac Search File Name

For those who love Apple, which for many is more than a tech company, it’s a representation of a lifestyle, a brand that has many fans, we’ve got a fun fact for you. Did you know there is a shortcut combination to see hidden files?

This shortcut should work for anyone running macOS Mojave, High Sierra, and Sierra, and anything beyond OS 10.12. Here is how you access the shortcut:

  1. From Finder, go anywhere where you suspect there are hidden files, such as the Macintosh HD root directory, or Home folder
  2. Next, press down the Command + Shift + Period keys, which should toggle to show hidden files in that folder.
  3. As you press the shortcut the keys are visible: when you switch it off, they disappear again.

Any hidden files that have been made visible will have greyed out names and icons.

How to find other hidden files on Mac?

It isn't always easy to know where you’ve put every file on your Mac.

After a couple of years of constant use, a Mac can start to resemble a cluttered old-school file cabinet. Files in places that once make sense, but are now in the wrong place. Files and folders that should be in the right place, but have been put somewhere else. Files that seemingly don't exist, or are floating around elsewhere.

One solution to this is to download CleanMyMac X. It’s a handy and easy-to-use Mac performance improvement app. It comes with a few tools for finding unlisted, hidden, and large old files that have slipped through the cracks. Here is how you use it:

  1. Download CleanMyMac X (download a free edition here).
  2. Click on Space Lens.


These blue bubbles represent all your documents in relation to their size. You can dive into each of these folders to reveal their contents — a more visual alternative to Finder.

You can also use the Large & Old files scanner (in the same app). Either or both features will highlight a few gigabytes worth of space you can free up, uncovering files that can easily slip through the cracks and become forgotten. By the way, CleanMyMac X is notarized by Apple, which means this app is malware-free and safe to use on your Mac.

For those with a lot of files, or Mac users badly in need of making more hard drive space, CleanMyMac X is an invaluable tool. We hope you found this article useful about how to locate and copy the file path details when searching for what you need.

Dec 16, 2020 • Filed to: Solve Mac Problems • Proven solutions

'I saved my Word document a while back, but it disappeared on my Mac. Can someone please tell me how to find lost documents on a Mac?'

If you are relatively new to the macOS system, then chances are that you might encounter a similar situation as well. Although macOS is quite user-friendly, sometimes it can take a lot of time to find a file or locate a particular folder. Just like Windows or Linux, Mac also presents different ways to find files and browse its local storage system.

In this post, we will teach you how to find folders on Mac as well as recover any lost document on your Mac system as well.

Part 1. How to Find Hidden Files and Folders on Mac Hard Drive?

Ideally, you can browse the internal hard drive or Mac or even explore an external device well. The solution to find lost files on Mac would be the same for almost every major version. Though, there might be some change in the overall interface of the macOS. The following are some of the common techniques that you can follow to find any file on Mac.

1. Use Recent Items to Find Documents on Mac

If you wish to find some recently opened files or folders on Mac, then you can follow this simple approach. The macOS would maintain a record of the recently accessed documents, applications, and sometimes even system processes. Therefore, you can quickly learn how to find lost files on Mac with this approach.

  1. Just go to the Apple logo on the top left corner of the screen and click on the 'Recent Items' option.
  2. This will give you a list of the recently accessed folders, apps, and documents. Just click on the icon of your choice to view the file or application.
  3. Additionally, you can also go to the File menu > Open Recent section to view the recently accessed files. You can clear the history from here or click on any file to access it once again.

2. Check the Downloads Folder to Find Files

Too often, Mac users download something from the internet and later realize that the downloaded document disappeared on Mac. If you also think that the Mac download folder is missing, then consider following these quick steps.

  1. To start with, go to the desktop on your Mac system and visit the 'Go' section from the main menu. From here, you can visit the 'Downloads' folder on Mac.
  2. Alternatively, you can also go to your Library and click on the 'Downloads' section from the left panel.
  3. Once the Downloads folder on Mac has been opened, you can just look for any file of your choice. There is a search tab on the top that can help you do the same in less time. Simply click on it and type the name of the file you are looking for in the Downloads folder.

3. Check the Trash to Find Deleted Files

When we delete something on Mac, the file is not removed from the storage right away. On the contrary, it will be moved to the Trash, from where we can recover the deleted data if we want to. Therefore, if you can't find lost documents or folders on Mac, then make sure that you check its Trash before taking any drastic measures.

  1. Firstly, you need to access the Trash folder on Mac. You can do this by clicking on the Trash icon on the dock.
  2. When the Trash folder would be opened, you can view all the deleted files that are stored on it temporarily.
  3. If you wish to recover a file, then select it, and right-click. Click on the 'Put Back' option from the context menu to restore it to its original location.

4. Search the Spotlight to Find Files and Folders

Files

Mac Search Files For Text

Spotlight is probably one of the most resourceful features in macOS. Since Spotlight has been an evident feature in every major macOS, you won't face the slightest of trouble in finding any file on your Mac system. The feature can be accessed from the desktop and will let you look for files, documents, internet searches, and so much more in one place. If you don't know where to find documents on Mac, then simply follow this drill.

  1. To access Spotlight, go to your Mac's desktop and click on the search icon on the top right corner of the screen. Here, type the name of any file or folder that you are looking for.
  2. In no time, the system will start looking for suitable content with respect to the searched keyword. Once you get the results, you can just hover the mouse on the icon to get its preview. Ideally, Mac will let you preview pictures, videos, audios, documents, etc.
  3. In order to access a file, simply click on it and it will be opened on your Mac system. If you want, you can click on the 'Show All in Finder' option as well to view all the searched results together.
  4. This will display the relevant results in Finder so that you can find the suitable files and folders that you were looking for.

5. Use Terminal to Find Files and Folders on Mac

The terminal is one of the most useful utility tools in Mac that lets us send direct commands to our system. A lot of users are not able to find any file or folder on Mac which is hidden. In this case, you can take the assistance of Terminal to view the hidden files/folders first. Later, you can go to Finder on Mac to access the data of your choice.

- 3 minutes to read it.
  1. To begin with, you need to launch the Terminal app. Go to Applications > Utilities and open the Terminal app or look for it from the Spotlight.
  2. 2. Once Terminal is launched on your Mac, simply copy the following commands and press enter: defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder
  3. This will restart Finder and will display all the hidden files and folders on it as well. Now, you can just click on the search icon and enter the name of the files/folder you are looking for. This will let you find files and folders on Mac that are even hidden from the user.

If the content you are looking for is present on your Mac's storage, then you would be able to find it by following the above-listed methods. These techniques will work even if the data has been hidden or deleted so that you can find any file on Mac seamlessly. Though, if your data is deleted or inaccessible, then consider following the next section to find lost files on Mac.

Part 2. How to Find Lost Files on Mac?

There are times when users end up losing their important data on Mac. While there could be different reasons behind it, you can easily find lost documents on Mac by using the right methods.

Why Files Get Lost?

Before we teach you how to find lost documents on Mac, it is important to know what could have caused the situation in the first place. Here are some of the major reasons for data loss on Mac.

  • Sometimes, users end up deleting something accidentally, which gets lost.
  • The change in location of the files can make them inaccessible at times.
  • A virus or malware attack on the storage can make your files corrupt.
  • Chances are that your data could be overwritten by something else.
  • The data can be mishandled by a third-party application as well.
  • The storage unit or partition can get corrupt or formatted.
  • A firmware issue, corrupt update, or any other software-related problem

Recoverit Data Recovery: The Best Mac Lost Partition Recovery Software

No matter what could have caused your files to be lost on inaccessible, you can easily get them back using Recoverit Mac Data Recovery software. It is an extremely reliable and advanced data recovery tool that supports every leading Mac and Windows version. The application is developed by Wondershare and yields positive results in all kinds of data loss scenarios. Also, it is extremely easy to use and will not need any prior technical experience to find lost files on Mac through it.

If you have deleted a partition on Mac or have lost it due to any other reason, then you should use Recoverit Data Recovery. It can help you restore partition data on Mac by following these easy steps.

Step 1: Select a disk

To start with, just launch the Recoverit Data Recovery application on your Mac. Subsequently, the application will identify the inbuilt partitions on your Mac and will provide their list. You can just select a partition of your choice and start the recovery process.

Step 2: Scan the Location

In no time, Recoverit would try to access the lost content from the selected partition. Though, if the partition has been lost, then the quick scan might not yield the needed results. In this case, you can perform a Deep Scan on your Mac to scan the entire storage.

Since it might take a while, it is recommended to wait for the recovery process to be completed. Try not to restart your Mac or close the application when it is performing a deep scan.

Step 3: Preview and Recover

That's it! Once the process is complete, the application will display the recovered data under various categories. You can view a section from the left panel and preview your data on the right.

In the end, you can select the files you wish to get back and click on the 'Recover' button to save them to a secure location.

Mac Search For Folder

In some new macOS versions, third-party applications are not allowed to access the logical partition of the drive. To overcome this, you can reboot Mac in recovery mode and launch Terminal from the utility menu. Type 'csrutil disable' and press enter to disable its System Integrity Protection. Once it is done, restart Mac in the normal mode and run Recoverit Data Recovery again.

Mac Search Files For Text Letters

Part 3. Tips for Finding Files on Mac

If you don't want to lose your data and learn how to find files on Mac quickly, then consider following these expert suggestions:

  • There are all kinds of keyboard shortcuts that you can use while browsing the file system on Mac. For instance, if you have been browsing a directory and would like to go back to the default folder, then press the Command + Shift + H keys. This will take you back to the home instantly.
  • Finder in Mac also allows us to set some default folders so that we can access them easily. Just go to the Finder Preferences to set a default folder for quick access.
  • The toolbar on Mac already provides a lot of options, but you can further customize it to make it easier for you to find files on Mac. Just go to View > Customize Toolbar and make the needed adjustments.
  • You can easily look for a file through the 'Search' bar on Finder. Also, you can sort the displayed data on the basis of different parameters (like size, last modified, etc.) to find files easily.
  • Mac also lets us preview files before opening them in order to find the respective content. For instance, you can just select a file and click on the Quick Look button to get its preview in seconds.

There you go! After reading this guide, you would be able to find any file on Mac without much trouble. We have listed different inbuilt methods to find lost documents on Mac, recover hidden files, and even restore deleted data. If you can't find lost files on Mac via Trash, then consider using Recoverit Data Recovery. It is an advanced and user-friendly data recovery application that will help you get back all kinds of content lost on your Mac. Since the tool is available for free (basic version), you can simply download it on your Mac and use it as per your requirements.

What's Wrong with Mac

Recover Your Mac
Fix Your Mac
Delete Your Mac
Learn Mac Hacks




Comments are closed.