Created
July 27, 2016 03:22
-
-
Save wtfaremyinitials/4c41af2ddf6674dd5490cd9a2d48692b to your computer and use it in GitHub Desktop.
Google Drive fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// School created an archive folder of last years stuff, but finding that | |
// folder required searching for it. This made the archive accessible. | |
// This can also be used to put a single file in multiple folders | |
function fixDrive() { | |
var root = DriveApp.getRootFolder() | |
var archive = DriveApp.getFolderById("[snip]") | |
root.addFolder(archive) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment