tags:

views:

55

answers:

2

I am trying to find the directory called macports by Find. I do not know where it is in my computer.

I have tried unsuccessfully

find --mindepth 777 macports

How can you find the directory?

A: 

Try

find . | grep macports

From any parent directory you might think it lives in. Depending on your system you can also try

locate macports
ojblass
+5  A: 
find / -name macports -type d
Stefano Borini
Use -iname to make it case insensitive.
David Schmitt
+1 for the absolute correct answer...
ojblass
@ojblass: what about the symlink called macfind that points to /some/obscure/location/Mac.Find?
Jonathan Leffler