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
//Key for Comments | |
//Checks and Manages Building of Equity Comms Folder and Rioter Docs ** | |
function driveStructure(driveInfo, indexedValue) { | |
var rootFolder = DriveApp.getRootFolder(); | |
var folders = DriveApp.getFolders(); | |
var isPresent = findComms(); | |
if(isPresent == 0){ | |
rootFolder.createFolder("Equity Comms"); | |
var rootIt = rootFolder.getFolders(); | |
while (rootIt.hasNext()) { |
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
//Set of Functions that can be attached to a Google Spreadsheet to facilitate a Google Drive Shared Folder to Team Drive Migration | |
//Author: Jared Garcia | |
//Attach to a Spreadsheet with three Sheets | |
//Link to spreadsheet template: https://docs.google.com/spreadsheets/d/1TPPx1XrEcyXRurZWKpy9Qkm0HSpbkFG3FI8q2jzukuE/edit?usp=sharing | |
//First Sheet needs to be named "Folder Analysis" and havethe following Data in the first row Folder Name, Folder ID, Owner, Parent Folder Name, Parent Folder ID, Gather Folders [NO/YES], Gather Files [NO/YES], | |
//Team Drive Duplicate Name,TD Duplicate ID, File Move [NO/YES], File Move Complete | |
//The Second Sheet should be named "File Analysis" and have the following data File ID, Owner, Folder Parent, Parent ID, Team Drive Move (Y/N) | |
//Third Sheet is called "Change Owner Commands". This sheet isn't necessary but is handy when you need to change a file/folders owner using Google Apps Manager commands. | |
//Version. 0.8 | |
//This is not a completed script as of yet. It currently gathers fo |