show/print filelist formatjson - returns CSV with embedded JSON field?

21 views
Skip to first unread message

Jim Garrison

unread,
Mar 29, 2023, 6:00:18 PM3/29/23
to GAM for Google Workspace
For example, this command

gam user <user> show filelist excludetrashed allfields filepath formatjson

actually returns CSV with this header

Owner,id,name,owners,owners.0.displayName,owners.0.emailAddress,owners.0.me,owners.0.permissionId,owners.0.photoLink,paths,path.0,JSON

with CSV-quoted JSON in the last field.  I can work with this, but was wondering if there's a way to get pure JSON output?
Reply all
Reply to author
Forward
0 new messages