Get list of shared drive file that shared externally

648 views
Skip to first unread message

Fadhli F

unread,
Sep 21, 2023, 6:01:52 AM9/21/23
to GAM for Google Workspace
Hi,

Does this command including file list under shared drive?

gam config auto_batch_min 1 redirect csv ./filelistperms.csv multiprocess all users print filelist fields id,title,permissions,owners.emailaddress pm not domain <Domain> em showownedby any

Thanks!

Ross Scroggs

unread,
Sep 21, 2023, 1:48:33 PM9/21/23
to google-ap...@googlegroups.com
--
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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/79a49f8b-3887-48cc-8a5b-54813861cbf4n%40googlegroups.com.

Fadhli F

unread,
Sep 22, 2023, 6:12:41 AM9/22/23
to google-ap...@googlegroups.com
So the command I shared above is not including shared drive file?

can we get example of command toprint file list of shared drive files and my drive files ACLS

Thank you


Ross Scroggs

unread,
Sep 22, 2023, 10:41:38 AM9/22/23
to google-ap...@googlegroups.com
You can add "corpora alldrives" to the end of the command to see files on Shared Drives as well as My Drive.
You command as given will display many duplicates as every user with access to a Shared Drive will show the same files and shared files on My Drives
will display for every user with access/




Ross
----
Ross Scroggs


On Sep 21, 2023, at 3:01 AM, Fadhli F <fadhlifat...@gmail.com> wrote:

Fadhli F

unread,
Sep 23, 2023, 3:12:10 AM9/23/23
to google-ap...@googlegroups.com
Thanks! It works.
just curious, what does the "corpora" mean in this command? as I can't see "corpora" in the link you gave to me above.

Thank you



Fadhli F

unread,
Sep 23, 2023, 3:14:29 AM9/23/23
to google-ap...@googlegroups.com
Oh no worries, I can see it in this documentation
https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Drive-Files-Display
Thank you

Best Regards,
Fadhli Fatahillah


On Fri, Sep 22, 2023 at 9:41 PM Ross Scroggs <ross.s...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages