Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

In Google Drive, is there a way to search only the contents of files within a particular folder (instead of files within the entire drive, as is the default)?

share|improve this question
    
It doesn't look that way, no. You can filter by owner, date, sharing status; but not by folder. –  Al E. Feb 4 '13 at 18:01
3  
Try the in:folder_name operator (e.g. in:folder_name search_term. Found here. –  Alex Feb 4 '13 at 18:02
    
@Alex yes, why not add that as an answer, it's what I would have suggested :) –  OnenOnlyWalter Feb 4 '13 at 18:05
1  
@Alex Sorry, I just tried what you said, but apparently it doesn't work (no results even when I know the file is there). –  Hydra Feb 5 '13 at 11:00
1  
What's funny is that if I search and Google Docs says "documents found in Trash" and I click "view" it shows me "<docname> in:Trash" but if I do that search....it returns NO RESULTS. Geesh... Google. WTF? –  Clay Nichols Oct 29 '13 at 18:45
show 3 more comments

6 Answers

I don't think there is such a feature available in Google Drive yet, but you can do a workaround.

If you do not intend to search for files recursively, simply just open the folder you want to search in and use the browser function (Ctrl+F) to search the name of your desired file.

Of course using this method you can't search within the file itself for text matches.

share|improve this answer
    
Yes, unfortunately I want to search content within files, not just filenames. I'm also looking to be able to recursively search within a folder (including subfolders). Thanks for the suggestion, though! –  Jon Schneider Feb 11 '13 at 21:42
add comment

If you want to search for text inside the files, you could search your drive for the text, then use (Ctrl+F) to search for the folder name. A little messy, though, and again, not recursive!

share|improve this answer
add comment

I have had very inconsistent success with:

in:<foldername>

This is somewhat inconsistent though.

This is how Google lets you search your Trash: e.g. before:2013-06-01 in:Trash

share|improve this answer
add comment

I wrote an app to search by folder (within file contents). It is a bit slow so be patient when it is loading.

https://script.google.com/macros/s/AKfycby6G32K-vKCiLmoKvMtG64cYPHEREEx1PY5IoYrEYaR6WAfbXs/exec

share|improve this answer
add comment

You can take a look to the following tool: www.evenbytes.com/metadrive.html

This tool will help you to search within Google Drive Folders. In addition to that, the tool provides additional features such as filters or custom metadata.

share|improve this answer
add comment

It is possible to use the API to search all files and filter the results down to the desired folder / subfolders. Here is an open source implementation:

http://ljv5555.github.io/drive-folder-search/app/

share|improve this answer
add comment

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.