Skip to content

Instantly share code, notes, and snippets.

@Hamcha
Hamcha / folders.gs
Last active August 16, 2016 21:15 — forked from anonymous/folders.gs
var folders = DriveApp.getFoldersByName("Università");
var subfolder = null;
if (folders.hasNext()) {
var folder = folders.next();
var subfolders = folder.getFoldersByName("Sbobine");
if (subfolders.hasNext()) {
var folder = subfolders.next();
var subsubfolders = folder.getFoldersByName("5o Anno");
if (subsubfolders.hasNext()) {
var folder = subsubfolders.next();