Skip to content

Instantly share code, notes, and snippets.

View PavlikPolivka's full-sized avatar

Pavel Polívka PavlikPolivka

View GitHub Profile
@relativeflux
relativeflux / auto-empty-google-drive-trash.md
Last active August 16, 2025 21:55
Automatically Empty Google Drive Trash

Automatically Empty Google Drive Trash

Adapted from https://www.amixa.com/blog/2019/04/05/automatically-empty-google-drive-trash/

  1. Make sure you use Google's Chrome web browser for best results.
  2. Open Chrome and go to www.google.com.
  3. Make sure you are signed into your Google account. If not, sign in.
  4. You should obviously have Google Drive account up and running.
  5. Visit https://script.google.com/home and click NEW PROJECT
  6. Clear out the default code that appears in the next window, and paste in the following: