?
Solved

How do I scan my whole disk for "git"?

Posted on 2012-04-07
5
Medium Priority
?
418 Views
Last Modified: 2012-04-08
I think Git may have been installed by Xcode but ned to find it to be sure. I have been told to look in:

/user/local/git

but I can not find a /user/ folder or a /local/ folder inside my main folder. So how can I search the whole disk for "git"?

When I use Finder I do not find any folders named "git".  Does this mean I do not have a folder named "git"?
0
Comment
Question by:newbieweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 668 total points
ID: 37820452
pleae see below link to search http://support.apple.com/kb/HT2350
0
 
LVL 31

Assisted Solution

by:Frosty555
Frosty555 earned 664 total points
ID: 37820454
You are probably thinking of the "/usr/" folder, not "/user"

In any case, there's a few ways to search an entire disk from the command line:

locate "git"

or

find / -name "git"

The find command should definitely work on Mac. I'm not 100% sure about the locate command.
0
 

Author Comment

by:newbieweb
ID: 37820459
find / -name "git"

got me permission denied for hundreds of folders.


also, for locate...

WARNING: The locate database (/var/db/locate.database) does not exist.
0
 
LVL 53

Accepted Solution

by:
strung earned 668 total points
ID: 37821193
You don't need to use terminal.

Search for Git using Spotlight. Then click on Show in Finder.

Then click on the  + button at the top right of the Finder window (beside "save") and add "System Files" "are Included".

See screen shot attached.
Screen-Shot-2012-04-08-at-9.55.0.pdf
0
 

Author Closing Comment

by:newbieweb
ID: 37821231
Thanks.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question