tag:blogger.com,1999:blog-7379565521701914821.post6944133333317000862..comments2024-03-14T18:57:15.880+00:00Comments on The Gift of Script: Bulk create Google Drive folders with a sub-folderPhil Bainbridgehttp://www.blogger.com/profile/10553620286575352544noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-7379565521701914821.post-61150851412286110542022-09-22T21:07:01.793+01:002022-09-22T21:07:01.793+01:00I'll see what I can accomplish. Thank you for ...I'll see what I can accomplish. Thank you for your help. J. Mortierhttps://www.blogger.com/profile/04850297119513491703noreply@blogger.comtag:blogger.com,1999:blog-7379565521701914821.post-45574065058005153672022-09-22T10:58:00.194+01:002022-09-22T10:58:00.194+01:00Hi
That is something feasible for Apps Script to ...Hi<br /><br />That is something feasible for Apps Script to achieve. You are going into sub-sub-folders however for which I only have this blog post (https://www.pbainbridge.co.uk/2020/02/bulk-create-test-foldersfiles-in-google.html) for bulk creating test folders. It should show you the principle of creating a loop, inside a loop, inside a loop (yes a bit mind-boggling!).<br /><br />If you're completely stuck and need a solution, I do Freelance work so could work together with you on this. Just use the Contact Form at the top of this page.<br /><br />Kind regards<br />PhilPhil Bainbridgehttps://www.blogger.com/profile/10553620286575352544noreply@blogger.comtag:blogger.com,1999:blog-7379565521701914821.post-2361626081379026582022-09-21T12:51:35.356+01:002022-09-21T12:51:35.356+01:00Thank you for this support. I have looked through ...Thank you for this support. I have looked through several of your posts and am still having trouble creating exactly what I need. Please see my sheet https://docs.google.com/spreadsheets/d/18yEm85y0fXLmyNxjeXJZrG7_gYy1tokqxShvCSzy6ag/edit#gid=0<br /><br />I am looking to create a master folder "Master Folder (Grad Profile) that houses an individual folder for each of the students (columns A and B). Within each of the students' folders, I want to have the other sub-folders embedded (columns C-G). Would you be able to help me with this? J. Mortierhttps://www.blogger.com/profile/04850297119513491703noreply@blogger.comtag:blogger.com,1999:blog-7379565521701914821.post-45754824269763118022021-08-10T08:31:42.907+01:002021-08-10T08:31:42.907+01:00Hi Akbar
Thank you for the nice feedback.
It'...Hi Akbar<br /><br />Thank you for the nice feedback.<br /><br />It's not really possible to 'copy' a folder in Drive/Apps Script - Google typically expects you to create a new folder as you require it. You would need to use an iterator to go through your source files/folders and create new versions/make copies of them as necessary (example of an iterator here that goes through all files in a folder - Lines 56 to 75: https://www.pbainbridge.co.uk/2019/09/bulk-rename-files-in-google-drive.html)<br /><br />Towards the end of this month I'll be releasing a tool for bulk creating single folders and adding any number of files to it - so that may provide you with some further guidance.<br /><br />Kind regards<br />PhilPhil Bainbridgehttps://www.blogger.com/profile/10553620286575352544noreply@blogger.comtag:blogger.com,1999:blog-7379565521701914821.post-61944728958123612582021-08-09T19:46:29.237+01:002021-08-09T19:46:29.237+01:00Hi Phil,
Really appreciate the Folder script and...Hi Phil, <br /><br />Really appreciate the Folder script and how helpful it has been for me (and everyone else)!<br /><br />Would this script be able to copy a selection of existing sub-folders inside a master folder as the "subfolder" within the newly created 'Folder' that this script runs?<br /><br />I have a group of sub-folders I routinely copy to new folders and this script helps me create new folders but I still need to copy over a list of sub-folders (and their content) over manually. <br /><br />Any help is appreciated!Akbar Mhttps://www.blogger.com/profile/17646978148138648732noreply@blogger.comtag:blogger.com,1999:blog-7379565521701914821.post-6149244149951454602021-06-05T09:55:38.971+01:002021-06-05T09:55:38.971+01:00Hi
Errrm there would be several points in the scr...Hi<br /><br />Errrm there would be several points in the script that would need tweaking to work with a Google Doc (file) instead of a sub-folder. It would be tricky to pull all of those out accurately here though.<br /><br />Hopefully I can find some time in the near future to do something for this.<br /><br />Kind regards<br />PhilPhil Bainbridgehttps://www.blogger.com/profile/10553620286575352544noreply@blogger.comtag:blogger.com,1999:blog-7379565521701914821.post-75106520432516155622021-06-03T19:13:12.435+01:002021-06-03T19:13:12.435+01:00Hi Phil – thank you so much for making this script...Hi Phil – thank you so much for making this script available. I'm still learning how to use Google App scripts – is there an easy way to modify this to create a Google doc instead of a sub-folder inside of each folder?Anonymoushttps://www.blogger.com/profile/05530927976973751514noreply@blogger.comtag:blogger.com,1999:blog-7379565521701914821.post-89519908513157983522021-05-04T18:27:33.035+01:002021-05-04T18:27:33.035+01:00Hi Darren
Yes there is. This blog post may help s...Hi Darren<br /><br />Yes there is. This blog post may help slightly with loops and passing Parent IDs: https://www.pbainbridge.co.uk/2020/02/bulk-create-test-foldersfiles-in-google.html<br /><br />Kind regards<br />PhilPhil Bainbridgehttps://www.blogger.com/profile/10553620286575352544noreply@blogger.comtag:blogger.com,1999:blog-7379565521701914821.post-74896026308371172592021-05-04T11:11:23.163+01:002021-05-04T11:11:23.163+01:00Hi, this script is great but I wonder if is there ...Hi, this script is great but I wonder if is there a way to add multiple folders within a created subfolder? ie. <br />First folder/ (Name)<br />sub folder 1/ (Order number)<br />sub folder 2 + 3 + 4 ... (Items)<br />If that makes sense to you.<br />ThanksDarrenhttps://www.blogger.com/profile/03667784347792582774noreply@blogger.com