Google: How to search for files
With Google, you can easily search for files by typing the following string in the search box:
intitle:”index.of” (mp3) keyword -html -htm -php -jsp
The crux of this hack is the clever usage of Google search tags for narrowing the result to only directory listings with keywords “MP3” and negating results that include html, htm, php or jsp as directory listings.
Here is the break up of the query and the meaning of the tags:
- intitle:”index of”: This searches for the “index of” keyword in title of files. This is usually the directory file that contains the list of all files.
- (MP3): This tag implies a search for files with the keyword “MP3” in the file name. To add more formats to search, include them separated by the OR (‘|’) separator.
- keyword: This is where the yourSongTitle you enter gets inserted. A clever innovation here is to separate the keywords in your song name with ‘.’ so that single character separations, such as underscores (‘_’) between words, are also included in results.
- -html -htm -php -jsp: This basically tells the search engine that you don’t want (negate) html, htm, php or jsp files that give directory listings.
You can modify the same query for searching pdfs or any other file format.
Also, there are few more keywords to limit the search to a particular site (site:siteName) or a filetype (filetype:pdf).
You are not of course encouraged to search copyrighted material with this method, since we are not promoters of media piracy.