Skip to content

Commit

Permalink
Added app script directions
Browse files Browse the repository at this point in the history
  • Loading branch information
dustintodd123 authored Sep 27, 2021
1 parent 6e6683e commit c16b94b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# googledrive-shared-drive-copy
# Google Drive Folder copy
Google made it nearly impossible to copy a folder structure from mydrive to a shared drive. Problem solved with Google App Script and Google Drive API.

Getting started with Google App Script https://developers.google.com/apps-script
1. https://script.google.com/
2. New Project
3. Delete the sample code and paste in the code from this project
4. Edit the source folder ID and the destination folder ID to match your folders (One gotcha - this code is setup to copy to target Folder not the root of
5. Click Services and add the Drive API
6. Click Save
7. Click Run
8. You will get a Authorization required prompt, click Review Permissions
9. It asks to verify your google acct
10. Next comes the "Google hasn’t verified this app" warning. To get past this click "Advanced" then "Go to Untitled project (unsafe)"
11. Click "Allow" on the permission dialog

Just edit the source folder ID and the destination folder ID.

Important note: Enable the Drive service in the script editor https://developers.google.com/apps-script/advanced/drive

0 comments on commit c16b94b

Please sign in to comment.