Print File Counts for MyDrive Folders via Folder ID

464 views
Skip to first unread message

Hardy Patel

unread,
May 18, 2022, 2:13:48 AM5/18/22
to GAM for Google Workspace
Hi there,

I am using Gam Advanced and cant work out if its possible to Print file counts for the MyDrive Target Folder ID's I have captured?

I know there is commands to print user files counts and file counts for shared drives, not sure if its possible for MyDrive Folders via Folder ID.

Appreciate any help with this. 

Thanks 

Ross Scroggs

unread,
May 18, 2022, 10:35:16 AM5/18/22
to google-ap...@googlegroups.com
Hardy,

gam user us...@domain.com print filelist select <DriveFolderID> countsonly

Ross

The information contained in this email is privileged and confidential and intended for the addressee only. If you are not the intended recipient, please respect that confidentiality and do not disclose, copy or make use of its contents. If received in error, please destroy this email and contact the sender immediately. Thank you.

--
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/70523bfc-0e40-410a-98c3-8e540e6e89ddn%40googlegroups.com.

Ross Scroggs

unread,
May 18, 2022, 10:44:12 AM5/18/22
to google-ap...@googlegroups.com
Hardy,

You can also get size information.
gam user us...@domain.com print filelist select <DriveFolderID> countsonly show size


Ross
Message has been deleted

Ross Scroggs

unread,
May 18, 2022, 8:06:01 PM5/18/22
to google-ap...@googlegroups.com
Hardy,

Send me a Meet/Zoom invitation.

Ross

On May 18, 2022, at 5:04 PM, 'Hardy Patel' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Hi Ross, 

Thanks for that info, I should of mentioned I don't have the Owners of the Target MyDrive folders, I only have the Folder ID's and name.. 

Ross Scroggs

unread,
May 18, 2022, 8:13:09 PM5/18/22
to google-ap...@googlegroups.com
Hardy,

You can't get the file counts without the owner. You can get the owner: https://github.com/taers232c/GAMADV-XTD3/wiki/Find-File-Owner

How many folders do you have?

Ross
On May 18, 2022, at 5:04 PM, 'Hardy Patel' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Hi Ross, 

Thanks for that info, I should of mentioned I don't have the Owners of the Target MyDrive folders, I only have the Folder ID's and name.. 

On Thursday, 19 May 2022 at 00:44:12 UTC+10 Ross Scroggs wrote:

Hardy Patel

unread,
May 18, 2022, 8:19:01 PM5/18/22
to GAM for Google Workspace
My Apologies Ross, 

I should of deleted my message while I searched for the folder owners. 

I was able to retrieve the Owners of the folder from the Report I had pulled. I will run the script you provided to get the Folder counts and Size. 

Thank a lot for your quick response and help, I really appreciate it. 

Reply all
Reply to author
Forward
0 new messages