Don't worry, the next section explains how this code works. Then replace the default code in the editor with the code below. First open the Apps Script editor by selecting Extensions -> Apps Script. The next step is to write an Apps Script to search Drive for the files you own and then export this list to your spreadsheet. On Drive, when you open a file/folder (s) with Drive Explorer, you will visit a webpage with the list of your file details. Step 2 - Write an Apps Script to search Drive for files you own and export this list to the spreadsheet From the Google Drive dashboard select one or more files/folders, right-click and select Open with Drive Explorer or select 'New' button in the top right corner and select More Drive Explorer. The list of files will be written to the sheet. Ĭreate a sheet in the spreadsheet called "Files". Here's a tip: You can quickly create a new Google Sheets spreadsheet using. Step 2 - Write an Apps Script to search Drive for files you own and export this list to the spreadsheetĬreate a new Google Sheets spreadsheet or open an existing spreadsheet where you want the list saved. Step 1 - Create a Google Sheets spreadsheet to save the list Three steps to get a list of your files in Google Drive using Apps Script Writing values to a range in a Google Sheets spreadsheet. Even if an app like Google Drive does not have a feature, you often can build that feature yourself with just a few lines of code! Prerequisites This illustrates the power of Apps Script. In this tutorial, I'll show you how to export a list of your Drive files to a Google Sheets spreadsheet. Therefore, I wrote a script using Apps Script to achieve this. I recently had to export a list of my files in Google Drive but I couldn't figure out how to do that from Drive's UI. Export a list of your files in Google Drive to Google Sheets using Apps Script
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |