This app enables G Suite 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 skaut.cz G Suite users 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 install
Create a new script project on https://script.google.com under a G Suite account and in the Project properties, copy the Script ID. Put this inside .clasp.json
. Then enable Google Apps Script API. Build the code and push it to the online project by running:
$ npm run build
$ clasp login
$ clasp push
When 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.