Web app to copy a Google Drive folder
This is a Google Drive Web app hosted at the Chrome Web Store. This app will recursively copy all contents and sub-folders within a Google Drive folder. As long as you have viewing rights on a folder, you can copy it in its entirety to your own Google Drive. The folder will be placed in your Google Drive, and you can move it from there.
This project is not associated with Google in any way.
To launch app: https://script.google.com/macros/s/AKfycbxbGNGajrxv-HbX2sVY2OTu7yj9VvxlOMOeQblZFuq7rYm7uyo/exec
If you are having issues signing in to the app, please try one of these options:
In addition, the app user will become the owner of the new folder and all sub-folders and contents. This makes it especially handy for making a new copy of shared information when someone leaves an organization.
Please see the Privacy Policy.
This app does not store any data relating to your account or Google Drive contents.
Note: some build commands use commands which may not be available on standard Windows command line terminals.
git clone [email protected]:ericyd/gdrive-copy.git
cd gdrive-copy && npm i
webapp
project. See clasp documentation for more details. Use the clasp.sample.json
as a template if needed.npm run clasp:login
npm run build:prod
npm run clasp:push
npm run clasp:deploy
Optional workflow with Docker installed:
git clone [email protected]:ericyd/gdrive-copy.git
clasp login
clasp create --type webapp
bash build.sh
clasp push && clasp open
After the initial build, there is an even faster way to deploy a new instance:
bash instance.js
Please open an issue on Github.
This project is not updated very frequently. I will try to keep it updated to remain functional with any changes to the Drive API, but I have a limited amount of time and other projects which I would like to focus on.
I welcome contributions and I will gladly review any pull requests.
If you are inclined to contribute to this project, here are a few areas which need attention:
main
instead of master
?To support anti-racist language in tech!
If you'd like to do the same:
$ git checkout master
$ git pull origin master
$ git branch -M main
$ git push origin main
# Update Settings/Branches/Default branch to main on GitHub or your git server of choice
$ git push origin :master
If you ascribe more to the stance that renaming master is harmful then my recommendation to you is to stop being so fragile, it's really no big deal.