Solved

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

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

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 …
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 video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 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

19 Experts available now in Live!

Get 1:1 Help Now