Skip to content

seansaleh/G-Drive-SharedFiles-Checker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

GoogleDrive - Shared Files Finder Script

This script analyses your Google Drive to find all files you've shared.

It returns a Spreadsheet with the files and their access rights alongside the viewers.

How to use

  • Connect to your google drive account
  • Create a new spreadsheet (optional: rename it)
  • Go to "Tools -> Script Editor"
  • Copy the content of the file checker.js into the editor
  • Save and Run
  • It may asks for permissions that you need to accept in order to access the drive.

Result

It creates a new sheet in the spreadsheet that should be populated with the results according to this column format :

Path Access Permissions Owner Editors Viewers ExternalEditors ExternalViewers Date Size URL Type

Options

If you want the script to check only files shared via links you can set :

const CHECK_PRIVATE_FILES = false;

If you want to set specific users files are shared with as not ExternalEditors or ExternalViewers then you can add them to

const internalUsers = [
  "[email protected]",
];

If you want to set certain email domains to be considered not ExternalEditors or ExternalViewers then you can add them to

var internalDomains = [
  "example.org",
];

Author

Thanks

For what this script evolved out of

For a great safe resumable recursive google drive folder and file iterator

For the inital idea

For the version of the script Arnaud Moya's was based on

License

  • MIT

About

Check your GoogleDrive to find all your shared files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%