Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to search for all files with a certain name in all repositories on Github? I've seen the advanced search form, but I can't see anything in there.

If there isn't anything on the Github website, is there any other way to do this?

I'm looking to produce various interesting statistics (a simple example is, how many README files are there on Github? But there are a broader range of questions)

share|improve this question
up vote 5 down vote accepted

Try this:

README.txt in:path

(maybe you will need to click on "Code" on the left side of the search page)

share|improve this answer
1  
Source: help.github.com/articles/searching-code – swrobel Jan 19 '14 at 20:52

the in:path kinda worked, but searching for

.travis.yml in:path

only returned about 6.8 million entries.

I was about to find 15 million using

filename:.travis.yml
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.