Skip to content

Move files from regular Google Drive to a Shared Drive

License

Notifications You must be signed in to change notification settings

skaut/shared-drive-mover

Repository files navigation

Shared drive mover

GitHub Actions

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.

How to run

skaut.cz deployment

The app is currently running for skaut.cz G Suite users at presun-disku.skauting.cz.

Own deployment

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.