Query for Null Parents

75 views
Skip to first unread message

Dan Rebney

unread,
Feb 10, 2023, 3:22:37 PM2/10/23
to GAM for Google Workspace
I transferred ownership of Drive files from one account to another using the Google Admin tool (not using GAM, I won't make that mistake again). Google screwed up and all my files transferred but without parent IDs, so where I expected a bunch of files it's just shortcuts. When searching for a file I can find them but the location is "Shared with me". The Shared with me tab doesn't actually show any of those files either.  I ran 'gam user <user> show fileinfo <id>' and the parents field is empty, in a normal file I can see the parents: id: and isRoot:.

Can someone help me with a query to find the file IDs of all those files? My thought was to try 'gam user <user> print filelist fullquery "parents = ''"' but that caused an error. 

I do have a ticket open with Google support, but I'd like to inventory the files.

I am using GAMADV-XTD3.

Ross Scroggs

unread,
Feb 10, 2023, 7:41:24 PM2/10/23
to google-ap...@googlegroups.com
Dan,

I'm in California (PST) and am generally available starting at 7:30AM.

Send me a Meet/Zoom invitation and I'll help you sort things out.

Ross



--
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/6c176598-3e58-4ece-89c3-cc2b661df1b8n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages