Print filelist query

12 views
Skip to first unread message

Lalit Pund

unread,
Nov 6, 2025, 12:18:19 PM (yesterday) Nov 6
to google-ap...@googlegroups.com
Hi Team,

Today, I tried to get the details of which file contains the specific word "TOG" with the following command in GAM.

gam all users print filelist query "fulltext contains TOGAF" todrive

As a result, we got the following error

==========
Getting all Drive Files/Folders that match query ('me' in owners and (fulltext contains TOGAF)) for a.ra...@amagi.com (1/1303)
User: a...@domain.com, Drive File/Folder Print Failed: Query ('me' in owners and (fulltext contains TOG)) Invalid (1/1303)
Data uploaded to Drive File:
https://docs.google.com/spreadsheets/d/!@#$%^&*(example)/edit?usp=drivesdk
Recipient: mym...@domain.com, Message: domain.com - all users Drive Files, Email Sent: file id.
==========

Please advise on the best way to obtain the required details, which should include specific words in the Documents.

--
Regards,
Lalit Pund

Ross Scroggs

unread,
Nov 6, 2025, 12:37:39 PM (yesterday) Nov 6
to google-ap...@googlegroups.com
See: https://developers.google.com/workspace/drive/api/guides/ref-search-terms

You want: 

gam all users print filelist query "fullText contains 'TOGAF'" todrive


Ross

----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/CAMiFaj2UTHn_EPegGWUxLwdjqFWzURNnUX-nxf3BXU6erhWyLg%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages