Skip to content

Commit

Permalink
Update to reflect latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dustintodd123 authored Nov 28, 2021
1 parent b3b4d5c commit 8c21c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Getting started with Google App Script https://developers.google.com/apps-script
1. https://script.google.com/
2. Click New Project
3. Delete the template code and paste in the code from [google-sharedrivecopy.gs](https://github.com/dustintodd123/googledrive-shared-drive-copy/blob/main/google-sharedrivecopy.gs) in this project
4. Edit the sourceFolderId to match the folder ID of the source of the copy (examine the folder URL, the ID is obvious) ` var sourceFolderId = "XXXX"; `
5. If you want the folder structured copied to the root of Mydrive leave the targetParentFolderId variable blank, otherwise provide the ID of the target folder `var targetParentFolderId = "";`
4. Edit the sourceFolderIdGlobal to match the folder ID of the source of the copy (examine the folder URL, the ID is obvious) `PropertiesService.getScriptProperties().setProperty('sourceFolderIdGlobal', 'xxx'); `
5. If you want the folder structured copied to the root of Mydrive leave the targetParentFolderId variable blank, otherwise provide the ID of the target folder `PropertiesService.getScriptProperties().setProperty('targetParentFolderIdGlobal', 'xxx');`
6. Click Services and add the Drive API
7. Click Save
8. Click Run
Expand Down

0 comments on commit 8c21c12

Please sign in to comment.