Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List contents of drive for all users - output to same sheet #239

Closed
giveen opened this issue Feb 9, 2022 · 5 comments
Closed

List contents of drive for all users - output to same sheet #239

giveen opened this issue Feb 9, 2022 · 5 comments

Comments

@giveen
Copy link

giveen commented Feb 9, 2022

I am trying to look for all video files over a certain size in Google drive and output them all to the same Google Sheet. The problem i am having is its opening up thousands of Google Sheets and crashing my machine.

C:\gam\gam.exe all users show filelist corpora alldrives fields title,filesize,id query "mimeType contains 'video/'" minimumfilesize 250000000 todrive tdtitle Student-Videos

@taers232c
Copy link
Owner

taers232c commented Feb 10, 2022

Send me a Meet/Zoom invitation.

gam version
gam config verify
what  is the value of auto_batch_min?

C:\gam\gam.exe config auto_batch_min 1 redirect csv - multiprocess todrive tdtitle Student-Videos
all users show filelist corpora alldrives fields title,filesize,id query "mimeType contains 'video/'" minimumfilesize 250000000

ross.scroggs @ gmail.com

@giveen
Copy link
Author

giveen commented Feb 10, 2022

Send me a Meet/Zoom invitation.

gam version gam config verify what is the value of auto_batch_min?

C:\gam\gam.exe config auto_batch_min 1 redirect csv - multiprocess todrive tdtitle Student-Videos all users show filelist corpora alldrives fields title,filesize,id query "mimeType contains 'video/'" minimumfilesize 250000000

ross.scroggs @ gmail.com

I'll try to hit you up tomorrow. I have to sign documents for closing on a house and I'm going on paternity leave so I wont be allowed to touch work stuff.

@taers232c
Copy link
Owner

taers232c commented Feb 10, 2022 via email

@giveen
Copy link
Author

giveen commented Apr 8, 2022

Resolved by just putting to local csv file.

C:\gam\gam.exe redirect csv "c:\temp\studentvideos2.csv" multiprocess all users show filelist corpora alldrives fields title,filesize,id query "mimeType contains 'video/'" minimumfilesize 150000000

@giveen giveen closed this as completed Apr 8, 2022
@taers232c
Copy link
Owner

taers232c commented Apr 8, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants