Git Product home page Git Product logo

g-drive-sharedfiles-checker's Introduction

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

g-drive-sharedfiles-checker's People

Contributors

seansaleh avatar moya-a avatar qwickening avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.