Skip to content

Instantly share code, notes, and snippets.

View extra-dev's full-sized avatar

Amy extra-dev

  • SquareDot
  • Dublin, Ireland
View GitHub Profile
@extra-dev
extra-dev / embedgist3.js
Created August 22, 2017 14:36
Snippet of Google Drive Folder Structure Gist
masterClientFolder.addFolder(clientFolder);
DriveApp.getRootFolder().removeFolder(clientFolder);
@extra-dev
extra-dev / embedgist2.js
Created August 22, 2017 14:35
Snippet of Google Drive Folder Structure Gist
var masterClientFolder = DriveApp.getFolderById("XXXXXX");
@extra-dev
extra-dev / embedgist1.js
Created August 22, 2017 14:33
Snippet of Google Drive Folder Structure Gist
var clientFolder = DriveApp.createFolder('Alice');//insert client name here inside ' '
@extra-dev
extra-dev / createFolderStructure.js
Last active July 30, 2023 14:11
Script to run inside Google Drive Scripts to create a folder system
function createFolderStructure() {
//Create the new folder
var clientFolder = DriveApp.createFolder('Alice');//insert client name here inside ' ' VERY IMPORTANT FILL IN
//Get the master folder
var masterClientFolder = DriveApp.getFolderById("XXXXXXXX");//ID for Current Clients folder goes here inside " "
//add new folder to current client folder
masterClientFolder.addFolder(clientFolder);