Google Drive Search for Files

The Google Drive Permissions Auditor add-on uses a Google Script to analyze who has access to your Google Drive files. You can use any of the search operators of the Google Drive API to query for files in Google Drive whose metadata match your search criteria.

1. Find all files in my Google Drive owned by me except those in trash

2. Search for files that begin with the term “IMG”

The contains operator only performs prefix matching for a name. For example, the name “HelloWorld” would match for name contains ‘Hello’ but not name contains ‘World’.

3. Search files that contain the word “ctrlq” anywhere in the content

The contains operator only performs matching on entire string tokens for fullText. For example, if the full text of a doc contains the string “HelloWorld” only the query fullText contains ‘HelloWorld’ returns a result.

4. Find all image files modified since January 30, 2016

5. Find all audio & video files that are not owned by me

6. Search for files containing the text “important” and are in the trash

7. Search for all Google Sheets in Google Drive (Supported MIME Types)

8. Search for files where abc@example.com is an editor (writer)

9. Search files that do not contain the word “ctrlq” in the content

10. Search files that are not JPG images

If you need help with writing search queries, please contact the developer.