Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 959 Bytes

File metadata and controls

26 lines (19 loc) · 959 Bytes

unshare-google-drive

Google Apps Script to unshare files and folders with someone.

Features

  • Unshare all files and folders with someone.
  • Unshare a folder (incl. subfiles and subfolders) with someone.

Installation

  1. Go to https://script.google.com/start and make sure you're signed in with the Google Drive account you want to use for this.
  2. Copy & Paste the unshareall.gs in this repository into the default file and select the main function under "Select function"
  3. In the code, set the userEmail variable to the email address of the user you want unshare items with.
  4. Hit run! (You will probably also be prompted grant permission to your drive so do that)

Inspired by https://github.com/HR/google-drive-unshare