Skip to content

Instantly share code, notes, and snippets.

@masteroftrix
masteroftrix / Apps script to index all files and folders in a Google Drive folder.js
Last active March 17, 2024 09:49
Apps script to index all files and folders in a Google Drive folder
/*
Credits
https://www.youtube.com/watch?v=sicIbO_Zk3o&ab_channel=GoogleSheetsTutorials
*/
function onOpen() {
var SS = SpreadsheetApp.getActiveSpreadsheet();
var ui = SpreadsheetApp.getUi();
ui.createMenu('List Files/Folders')
.addItem('List All Files and Folders', 'getListFilesandFolders')
.addToUi();

Keybase proof

I hereby claim:

To claim this, I am signing this object: