"locate" Linux command alternative for mac OSX

Abhishek

In Linux, we can use the locate command to find the files from the terminal. Is there any command available for Mac OSX which works same as the locate command?

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.

Julian

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

mdfind -name test.pdf

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

"code ." Not working in Command Line for Visual Studio Code on OSX/Mac

From Dev

-bash: android: command not found on Mac OSX

From Dev

Running system command from R console cannot locate installed programs since upgrading to Mac OSX 10.10

From Dev

How to rename files using Zsh shell and `sed` command on Mac OSX

From Dev

mongo: command not found on Mac OSX even though it's in the PATH

From Dev

Linux locate command copy path to clipboard

From Dev

npm command not found after updating to Mac OSX 10.9.4

From Dev

vagrant: command not found after install on Mac OSX 10.10.4

From Dev

mac osx yosemite gcc cannot execute binary file , command not found

From Dev

Intellij idea CE command line start for mac osx

From Dev

Windows alternative to locate on ubuntu

From Dev

Command Line SSH restart Mac OSX Mountain Lion

From Dev

Unable to locate Java 7 on OSX

From Dev

Mac OSX vs Linux Unix-ness

From Dev

Mac OSX change file association per file on the command line

From Dev

Linux locate command copy path to clipboard

From Dev

Alternative for "locate" on debian

From Dev

mac osx copy command for copying only files with a given subname?

From Dev

-bash: : command not found when launching the shell in Mac OSX

From Dev

npm command not found after updating to Mac OSX 10.9.4

From Dev

Is there a /dev/pts alternative on Mac OSX?

From Dev

How to locate linux desktop menu shortcuts from command line?

From Dev

Mac OSX restart from command line and close all windows

From Dev

What is the alternative for ls command in linux?

From Dev

Mac OSX: users vs dscl command to list user

From Dev

Mac OSX bring the console window front most with shell command

From Dev

No command line prompt in Mac OSX Terminal.app

From Dev

zip command options on mac/linux

From Dev

Changing paths to fix Mac OSX:` -bash: jupyter: command not found`?

Related Related

  1. 1

    "code ." Not working in Command Line for Visual Studio Code on OSX/Mac

  2. 2

    -bash: android: command not found on Mac OSX

  3. 3

    Running system command from R console cannot locate installed programs since upgrading to Mac OSX 10.10

  4. 4

    How to rename files using Zsh shell and `sed` command on Mac OSX

  5. 5

    mongo: command not found on Mac OSX even though it's in the PATH

  6. 6

    Linux locate command copy path to clipboard

  7. 7

    npm command not found after updating to Mac OSX 10.9.4

  8. 8

    vagrant: command not found after install on Mac OSX 10.10.4

  9. 9

    mac osx yosemite gcc cannot execute binary file , command not found

  10. 10

    Intellij idea CE command line start for mac osx

  11. 11

    Windows alternative to locate on ubuntu

  12. 12

    Command Line SSH restart Mac OSX Mountain Lion

  13. 13

    Unable to locate Java 7 on OSX

  14. 14

    Mac OSX vs Linux Unix-ness

  15. 15

    Mac OSX change file association per file on the command line

  16. 16

    Linux locate command copy path to clipboard

  17. 17

    Alternative for "locate" on debian

  18. 18

    mac osx copy command for copying only files with a given subname?

  19. 19

    -bash: : command not found when launching the shell in Mac OSX

  20. 20

    npm command not found after updating to Mac OSX 10.9.4

  21. 21

    Is there a /dev/pts alternative on Mac OSX?

  22. 22

    How to locate linux desktop menu shortcuts from command line?

  23. 23

    Mac OSX restart from command line and close all windows

  24. 24

    What is the alternative for ls command in linux?

  25. 25

    Mac OSX: users vs dscl command to list user

  26. 26

    Mac OSX bring the console window front most with shell command

  27. 27

    No command line prompt in Mac OSX Terminal.app

  28. 28

    zip command options on mac/linux

  29. 29

    Changing paths to fix Mac OSX:` -bash: jupyter: command not found`?

HotTag

Archive