Updates
Updates on previous posts here at Google Search Tricks is frequent due to the dynamic nature of Google Web Search. To ensure that you get the latest information, revised posts are now tagged with '
Update'.

Showing posts with label filetype. Show all posts
Showing posts with label filetype. Show all posts

How To Search For Directory Listings 2

Following from How To Search For Directory Listings 1 on how to accurately locate directory listings, now it is time to apply some of the advanced operators to filter out the unwanted results. Here are 4 ways to narrow your result of directory listings.

Narrow Results by Site
Use the site operator to narrow results to a particular site's directory listing.

Example: intitle:index.of "parent.directory" site:wikipedia.org

Narrow Results by Sub-Directory
Use the inurl operator with the name of the sub-directory to narrow results to that sub-directory. The following example returns only directory listings that contains sub-directories with the name "admin".

Example: intitle:index.of "parent.directory" inurl:admin

Narrow Results by File Type
Use the filetype or ext operator.

Note that when combined with directory listing search, Google blocks the results from displaying the more popular audio and video file formats such as mp3, mp4, wma, wmv, ogg, avi, etc. The only popular video file format I have found that still works in such searches is the Flash Video format (flv). To overcome this, submit the filetype as an ordinary search term. This, however, does not guarantee that the results will contain your desired file type.

No result example: intitle:index.of "parent.directory" ext:mp3

Narrow Results by Specific File
This is easy if you have throughly understood the basic and advanced operators. Just include the file name and extension you wish to locate. Use double quotes to restrict your search further. Use the OR and period operators to expand your search.

Example: intitle:index.of "parent.directory" "this.is.an.example.mp3"

How To Search For Directory Listings 1

Directory listing has several features that you can make use of to locate actual listings in Google's search results.


The most obvious is the Index of phrase that appears in the title of all directory listings. However, you will realize that simply submitting intitle:index.of will simply not work that well - Google returns far too many false results. To prevent this, we can make use of other key phrases that appears on directory listings, such as Parent Directory and Last modified.

Examples:
intitle:index.of "parent.directory" password OR passwd OR pw
intitle:index.of "parent.directory" image OR img
intitle:index.of "parent.directory" +mp3

Name, Size, and Description do not serve as good search terms because they are too common even when combined with the inanchor operator. You can add more search terms with other operators to narrow your search results. inurl and filetype are good operators for combinations in this case.

Another method to filter out false results is to make use of the server version located at the bottom of directory listings. Try to include the phrase server.at in your search query.


Note that some directory listings do not include server information, so use the server.at phrase a last resort if Google returns millions of hits even after refining your searches.

ext Google Operator

The ext operator is very similar to the filetype operator. They are so alike that most people simply ignore the difference and use them interchangeably, or drop filetype operator entirely for the ext operator since it is easier to enter on the keyboard.

Originally, the ext operator is a shorthand for the numrange operator. However, it is soon replaced by the newer, further shortened version of the numrange operator: the .. (period period) operator. So eventually (and very naturally), the ext operator became an extension search operator just like the filetype operator.

Use the ext operator for the more uncommon file types because it usually produces a deeper and faster search. The filetype operator on the other hand performs better with common file extensions.

See filetype operator for more information.

filetype Google Operator

The filetype operator allows you to search for pages that end with a particular file extension, i.e. restricts a search to a certain file type.

Example: filetype:xls OR filetype:doc OR filetype:pdf site:nus.edu.sg +answers

Note that from the above example, you can view PDF files with Google Docs by clicking on Quick View. Google will also convert documents into HTML for viewing. You can view a document in HTML format by clicking on the View as HTML link.

This is useful when you do not have a required document viewer installed on your computer. However, it is always better to view the documents in their original format as the HTML conversion is not perfect - some of the contents may be missing.

Almost every file extension can be searched for. FILExt has a comprehensive list of file extensions. This operator can effectively narrow your document search when used with the site and / or intitle operators. Note that using a NOT operator with the filetype search term will not produce any results.

Examples that will not show any results:
filetype:txt -inurl:txt
filetype:txt -txt

A related operator is the ext operator.