Showing posts with label find a file in maxOS. Show all posts
Showing posts with label find a file in maxOS. Show all posts

Sunday, April 18, 2021

How to find a file in macOS Terminal using bash?

Cd into the directory. 

Example:
List down all the files with the name test.

 find . -type f -name "test*"

Additional tip

List down all the directories with the name test.

find . -type d -name "test*"