abhishek abhishek - 1 year ago 83
Linux Question

"locate" Linux command alternative for mac OSX

In Linux, we can use the

command to find the files from the terminal.
Is there any command available for Mac OSX which works same as the

I want to find a file in complete filesystem accessible by User(Me) in mac OSX. Can it be done with some command from the terminal?

This command should show me the list of all paths where the file of the same name is available.

Answer Source

I guess the mdfind command is what your are looking for:

mdfind -name test.pdf
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download