Important
This project is no longer maintained and will not receive any updates. Version 31 works as of September 2025, but future changes to Google services may break it.
This app enables Google Workspace users to easily move files from their personal drives to a Shared Drive (previously known as a Team Drive).
The app is intended to run as a Google Apps Script Web App.
The app is currently running for users in the @skaut.cz Google Workspace at presun-disku.skauting.cz.
To run the app on your own, clone the repo and, install all the dependencies:
$ git clone https://github.com/skaut/shared-drive-mover.git
$ cd shared-drive-mover
$ npm installCreate a new script project on https://script.google.com under a Google Workspace account and in the Project properties, copy the Script ID. Put this inside .clasp.json. Then enable Google Apps Script API. You should also modify the webapp.access value in appsscript.json to control who can run the script - see the docs for details.
Finally, build the code and push it to the online project by running:
$ npm run build
$ clasp login
$ clasp pushWhen asked Manifest file has been updated. Do you want to push and overwrite? type y.
Deploy the online project as a Web App. This should give you an URL to run the project.