Files shared with a Group

4 views
Skip to first unread message

Jahnavi Mullaguru

unread,
6:21 PM (4 hours ago) 6:21 PM
to GAM for Google Workspace
hi Team,

I wanted to know if we have a way to know what all files are shared with a google group using GAM.

thank you,
Jahnavi Mullaguru

Ross Scroggs

unread,
7:01 PM (3 hours ago) 7:01 PM
to google-ap...@googlegroups.com
This will give you My Drive files wirh explicit (not inherited) shares to gr...@domain.com; replace with actul value

gam config auto_batch_min 1 num_threads 10 redirect csv ./SharesToGroup,csv multiprocess redirect stderr -  multiprocess all users  print filelist fields id,name,mimetype,basicpermissions pm type group emailaddress gr...@domain.com inherited false em pmfilter oneitemperrow

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/7189d2e4-066e-46a7-b6e8-c86012e5d8dbn%40googlegroups.com.

Ross Scroggs

unread,
7:08 PM (3 hours ago) 7:08 PM
to google-ap...@googlegroups.com
This will work for Shared Drives

gam redirect csv ./SharedDriveOrganizers.csv print shareddriveorganizers

gam config num_threads 10 csv_input_row_filter "organizers:regex:^.+$" redirect csv ./SharedDriveSharesToGroup.csv multiprocess redirect stderr - multiprocess csv ./SharedDriveOrganizers.csv gam user "~organizers" print filelist select teamdriveid "~id" fields teamdriveid,id,name,mimetype,basicpermissions showdrivename pm type group emailaddress gr...@domain.com inherited false em pmfilter oneitemperrow


Ross
----
Ross Scroggs


Reply all
Reply to author
Forward
0 new messages