Solved

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

Posted on 2012-04-07
5
414 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
5 Comments
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 167 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 166 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 167 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

If you other experts are anything like me you are always looking into and testing out new features. While I was doing some research one day I ran across an app that I installed on my Mac and used as a security system. Mac OS X: SecureHome uses your …
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
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 …

830 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