Google Sites in Google Shared Drives

12 views
Skip to first unread message

Bryan Riley

unread,
9:37 AM (12 hours ago) 9:37 AM
to GAM for Google Workspace
Does anyone know if there is a GAM command to query and find all Google Sites that are stored in Google Shared Drives? I ran the following command but it only displays Google Sites stored in users My Drive.

GAM Command:
gam config auto_batch_min 1 num_threads 10 redirect csv ./GoogleSites.csv multiprocess redirect stderr - multiprocess all users print filelist allfields pm not role owner em oneitemperrow pmfilter showmimetype gsite

Ross Scroggs

unread,
10:52 AM (11 hours ago) 10:52 AM
to google-ap...@googlegroups.com
gam redirect csv ./SharedDriveOrganizers.csv print shareddriveorganizers

gam config num_threads 10 redirect csv ./SharedDriveGoogleSites.csv multiprocess redirect stderr - multiprocess csv SharedDriveOrganizers.csv gam user "~organizers"  print filelist select teamdriveid "~id" fields id,driveid,name,mimetype,basicpermissions showdrivename showmimetype gsite fullpath inherited false em pmfilter oneitemperrow

allfields is a lot of data.

What is the purpose here: pm not role owner em oneitemperrow pmfilter


Ross

----
Ross Scroggs



Disclaimer: This electronic message may contain information that is Proprietary, Confidential, or legally privileged or protected. It is intended only for the use of the individual(s) and entity named in the message. If you are not an intended recipient of this message, please notify the sender immediately and delete the material from your computer. Do not deliver, distribute or copy this message and do not disclose its contents or take any action in reliance on the information it contains.

--
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/1ff18417-bcee-44b2-a83b-b22be8e9444bn%40googlegroups.com.

Bryan Riley

unread,
1:50 PM (8 hours ago) 1:50 PM
to GAM for Google Workspace
I wasn't 100% sure on field names that's why I listed allfields.

I'm trying to run your second command after identifying all of our SD organizers but I'm getting an error that I don't know how to decode :)..Any suggestions??
GAMError.png

Ross Scroggs

unread,
1:59 PM (8 hours ago) 1:59 PM
to google-ap...@googlegroups.com
... csv SharedDriveOrganizers.csv charset latin1 ...

Send me a private Meet/Zoom invitation

Ross
----
Ross Scroggs


Reply all
Reply to author
Forward
0 new messages