Solved

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

Posted on 2012-04-07
5
412 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now