Created
August 11, 2018 09:31
-
-
Save danjargold/c6542e68fe3a3b46eeb0172f914641bc to your computer and use it in GitHub Desktop.
Google script to list (on a Google Sheet) all files shared in your google drive, including all viewers, editors, and sharing permissions. Credit goes to @woodwardtw (https://gist.github.com/woodwardtw/22a199ecca73ff15a0eb) as this is an improvement on his code which only assesses a single folder and one level of sub-folders down.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
Thanks a lot for this, it helped me a lot.
I've made some improvments, so it's harder to timeout when there are lots of files involved.
(it took me about 3min for 500 files instead of timing out at 6mn).
I just cached all the files in a list and flushed them all at once into the spreadsheet instead of calling the API for each files.
you can check that out here : https://github.com/moya-a/G-Drive-SharedFiles-Checker
Cheers :)