A Google Apps Script to synchronize subfolders between Google Drive folders with configurable sync modes (COPY, UPDATE, MIRROR).
Latest version: 1.3.0 (2025-04-24 added DRY RUN mode)
For a detailed guide and the script file, visit the GitHub page of this project:
https://github.com/charlotte-lau-hk/GoogleDriveFolderSync
Developed based on:
Google Drive Clone by Dustin D. (3DTechConsultantsat) at
https://github.com/3DTechConsultants/GoogleDriveClone/
(GPL-3.0 License)
Usage Scenarios:
You have some folders in Google Drive that you need to sync to another location to share with your colleagues without affecting the original files. (e.g. sync to Shared Drive of a subject department)
You have some folders in Google Drive in your Workspace account that need to be synced to Google Drive in your personal account. (you will be leaving your organization soon, or simply as a backup)
使用情景:
你在 Google Drive 有一些資料夾,需要同步到另一個位置,以分享給同事,而不影響原本的檔案。(例如同步至科組的 Shared Drive)
你在,Workspace 帳號的 Google Drive 有一些資料夾,需要同步到你個人帳號的 Google Drive。(你快將離開你的組織,或純粹當作備份)