Monitor File Updates on Google Drive with Google Apps Script: GAS103
Introduction
If you're seeking a way to monitor file updates on your Google Drive, you've come to the right place. This Google Apps Script project provides the essential scripts you need to watch file updates on Google Drive. Additionally, it includes a demo app that can store these updates in a Google Sheets, allowing you to keep track of changes within a specific folder.
YouTube
If you're a visual learner and prefer watching video instructions, I highly recommend checking out this video.
Instructions (4 Steps)
To establish your own project, adhere to the following steps:
Step 1
Make a copy of my project to your Google Drive with the link below.
Step 2
To complete the authorization requirement, click on any button within the "GAS103" menu in the copied Google Sheets document.
* Check the authorization guide if unfamiliar with the process.
A Complete Guide to Authorize GAS Project
Step 3
To monitor a specific folder on your Google Drive using Apps Script, follow these steps:
- Open the Apps Script editor by selecting "Extensions > Apps Script" from the menu.
- In the "0.config.gs" file, locate line 5 and update the "WATCH_FOLDER_ID" variable with the ID of the folder you want to monitor.
- Save the script.
Step 4
From the "GAS103" menu, you can now initiate the trigger installation process. This trigger will monitor the folder you specified in the previous step for any file updates every minute.
Other Features
- Get all files - Manually retrieve all files present within the designated watch folder.
- Get updated files - Manually retrieve all recently modified files from the designated watch folder.
GoogleAppsScript Playlist (Subscribe for New Projects)
Links
Hire me on Upwork Donate (PayPal) YouTube Github Twitter / X Instagram
Comments
Post a Comment