Skip to content

Instantly share code, notes, and snippets.

View mbeyeler's full-sized avatar

Michael Beyeler mbeyeler

View GitHub Profile
@fmarais
fmarais / google_drive_auto_backup
Last active December 15, 2025 10:42
This script will automatically save spreadsheet sheets when edited in Google docs.
This script will automatically save spreadsheet sheets when edited in Google docs.
Installation:
* Open your google spreadsheet
* Open the script editor by clicking on Tools -> Script Editor
* Paste this code into the script editor
* Change the fileId to file you want to backup,
eg. https://docs.google.com/spreadsheets/d/1Ly5SSIE9d-b_IA6VxDB1HF3pnf37SPf22KhZVv3PPiVA1w/edit#gid=966474823
the fileId would be: