I am a google drive user(not a API user or developer). I want to know is there any way to search inside the file contents. I know the filenames can be searched with search bar. But i couldn't find a way to search inside files.
For example,
I have a file Names.txt which contains
Oracle
Microsoft
IBM
How can i get,say Microsoft, just by searching?
I got this information
useContentAsIndexableText boolean Whether to use the content as indexable text. (Default: false)
from
https://developers.google.com/drive/v2/reference/files/insert
and nothing more helpful :p
Any idea, how to get the file content by searching?
You can now search for content in a specific folder in Google Drive. Select the drop-down in the search bar and choose the folder you want from the Location menu, or right-click on a folder and search within that folder.
To open the Google Drive advanced search, click on the drop-down arrow at the end of the Google Drive search box, and you will find that you can search by file type, visibility, owner and much more!
It can also identify objects inside photos so a search for “birthday” may retrieve images of cakes in your Drive. Drive will also perform a OCR and search for text inside images and scanned PDFs.
Actually, i found one way to sort the files which contains the text from the link below.
https://support.google.com/drive/answer/2375114?hl=en&ref_topic=2463645
That is by including the search term in in double quotes.
So if i search with "Microsoft". Then only files that contains Microsoft will be visible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With