InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Mac Finder

  • Change search default folder to current folder
  • Mac Finder - how to change default folder
  • Open Finder from terminal
  • Search files by name
  • Search system hidden files
 
  • Home
  • > Tutorials
  • > Mac
  • > Mac Finder

How to search files by name in Mac Finder

By admin on Nov 24, 2015

Mac finder can be used to find files on Mac or in a specific folder. By default search is done on file contents. Sometimes we just want to search files having certain string in the name. Here are quick steps to search files by name (substring) using Mac Finder:

Pre-requisite for searching files by name in Finder

For the purpose of this article we will create two test files. Create a directory tmp and create two files in it. Name first file hello.txt and put the following content in it:

Hello world

Create second file file1.txt with the following content:

hello.txt

Steps to do file name search in Finder

  1. Open Finder, select the folder tmp created above and type hello.txt in search box. It should prompt you to search only in file (Name matches:) as shown below:
    mac-finder-search-with-name-search-promptNote that by default both files (hello.txt and file1.txt) are being shown in results as hello.txt has matched files name in one file and content text in another.
  2. Select “Name matches: hello.txt” option. This will search hello.txt only in file name. Here are the results for name search.
    mac-finder-name-searchNote that this time (Name search) only hello.txt is appearing in search results.

Suggested posts:

  1. How to run a program as administrator on windows 10
  2. How to enable Chrome tabs on Android Lollipop
  3. How to remove hard drive icon from mac desktop
  4. Mac Finder – how to search system hidden files
  5. Mac – open a terminal from a folder
  6. mac pkgutil – quick start guide
  7. Linux – find and delete files older than 30 days
  8. jQuery – add text to existing div
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Mac, Mac Finder, Tutorials
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress