How to find a folder on Mac OS X 10.5?

32

8

I'm on Mac OS X 10.5 (Leopard). What's the best way to find a folder for which I'm not sure of the full name?

For example, I know the folder name I want is like:

  • "farm-animal-type"

But the full name may be something like:

  • "farm-animal-type-horse"

On Windows, I would just use the find tool through Windows Explorer.

user246114

Posted 2010-02-19T22:55:36.163

Reputation:

Answers

55

If you take interest in the command line:

find / -type d -name "*farm-animal-type*"

you can change the starting area from / to whatever you want if you have a good idea of where the folder is generally located. Spotlight will be much snappier as the folders are indexed though.

John T

Posted 2010-02-19T22:55:36.163

Reputation: 149 037

3Should one take interest in both the command line and the snappyness of spotlight, one might find mdfind [whatever] interesting ;-) – trolle3000 – 2010-02-26T00:56:30.867

1I prefer to use -iname to ignore the case of the folder. – Mark Thalman – 2010-03-17T17:40:28.243

13

Using terminal, you can do:

mdfind kind:folder "farm-animal-type"

Murta

Posted 2010-02-19T22:55:36.163

Reputation: 231

Best answer!!!!!!!!! Thank you!!!!!!!! – neoswf – 2019-09-30T18:13:40.267

Wow, pretty fast! – Floam – 2019-10-22T17:19:29.230

10

Spotlight

In the top right of any finder window there is a text-based input for searching.

OR, the magnifying glass in the menubar on the top right of the screen.

macek

Posted 2010-02-19T22:55:36.163

Reputation: 5 157

Or Command-Space if your Spotlight settings are still the default. – dotHTM – 2010-03-07T17:17:30.577

If I search for "Foxit Software" (without the quotes) I get no results for a folder despite the fact that there is a folder with this exact name in /Users/<username>/Library/Application Support. None of the folders in that path are hidden. – Jess Riedel – 2017-11-28T05:24:56.203

0

On Mac OS 10.10.5 (Yosemite), in Finder, click on the "+" button at the top right, just below the search string. Set "Type" = "Folder" and you're set!

Nico

Posted 2010-02-19T22:55:36.163

Reputation: 101

0

As suggested by @John T and @macek above, Use Spotlight. It's much faster than using the wildcard in the terminal with find or locate commands if your folder name is having common file/application tags, such as searching for a folder with tags Python or Java. In your current case, it should work fine with any approach, but it's noteworthy and should be kept in mind.

Akhil Verma

Posted 2010-02-19T22:55:36.163

Reputation: 3

Hi Akhil and welcome to Superuser! Great to see that you want to contribute to this site. This site aims to be a question/answer repository and is trying to reduce duplication. Your answer seems very similar to this answer (as you note yourself), so I'm not sure if it's of added value. Next time, please consider if your answer is adding something new before posting it. Looking forward to see more of your contributions!

– Saaru Lindestøkke – 2019-06-25T14:38:01.060

@SaaruLindestøkke duly noted. Just to be clear my answer is a detailed one. I've even mentioned the two similar answers in mine. Thanks! – Akhil Verma – 2019-06-26T12:10:33.890