Home  >  Article  >  What does the Filetype directive do?

What does the Filetype directive do?

coldplay.xixi
coldplay.xixiOriginal
2020-12-01 09:55:1719956browse

The role of the Filetype command: improve the efficiency of document search. filetype is used to search for specific file formats. The syntax is [keyword space filetype English colon format of the required file].

What does the Filetype directive do?

The role of the Filetype command:

filetypeThe search command is used to search for a certain format The document is very easy to use and can help us improve the efficiency of search to a large extent.

Using syntax: Keyword space filetype English colon The required file format

Example "Baidu knows filetype: pdf ”

filetype The file formats that can be searched are pdf, ppt, xls, doc, jpg, rtf, all

where all refers to all “pdf, ppt, xls, doc, jpg, rtf", does not include other formats such as mp3, mp4, etc.

What does the Filetype directive do?

Extended information:

Notes on using the filetype command:

filetype is used to search for specific file formats. Both Google and Baidu support the filetype directive. For example, searching Google for "filetype: pdf search skills" will return all pdf files that contain the keyword search skills.

But it should be noted that when we use the filetype command, the following file type must be the above file type (Baidu and Google are different). In addition to entering the file type, we also need to enter keywords .

The above is the detailed content of What does the Filetype directive do?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn