This is Google Apps Script library for copying folder on Google Drive. I have sometimes the situation that it is required to back up the folder on Google Drive to Google Drive. But unfortunately, the method of "makeCopy()" of Class File and the method of "Files: copy" of Drive API cannot be used for directly copying the folder on Google Drive. So I created this as a library. This library can copy the folder on Google Drive. All files in the folder can be copied to Google Drive with keeping the folder structure. When there are the files with newer modified time in the source folder than those in the destination folder, the files in the destination folder are overwritten by the newer files in the source folder. Also, in this library, the folders in the shared Drive and the publicly shared folders can be used as the source and destination folder. If this was useful for your situation, I'm glad.
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/bc08fcfc-9f1a-4c6c-a466-e45d7b460bdf%40googlegroups.com.
This is Google Apps Script library for copying folder on Google Drive. I have sometimes the situation that it is required to back up the folder on Google Drive to Google Drive. But unfortunately, the method of "makeCopy()" of Class File and the method of "Files: copy" of Drive API cannot be used for directly copying the folder on Google Drive. So I created this as a library. This library can copy the folder on Google Drive. All files in the folder can be copied to Google Drive with keeping the folder structure. When there are the files with newer modified time in the source folder than those in the destination folder, the files in the destination folder are overwritten by the newer files in the source folder. Also, in this library, the folders in the shared Drive and the publicly shared folders can be used as the source and destination folder. If this was useful for your situation, I'm glad.
@miscellaneousmailer and @fernandojfalcao Thank you so much.
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/eb7e79bd-936e-46e5-9a4e-8f386f411643%40googlegroups.com.
Thank you for your support. I would like to keep in mind your advices and to move on. Thank you very much.
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/077807f9-3fb6-441b-9d66-d33e53f82be9o%40googlegroups.com.
<script> var alldata = {}; $(function() { const rootFolderId = "root"; google.script.run.withSuccessHandler(importData).getFiles(rootFolderId, rootFolderId); $('#select_file').change(function() { var id = $('#select_file').val(); var disp = $('#select_file option:selected').text(); if (~disp.indexOf("Folder") || ~disp.indexOf("../")) { $('#select_file > option').remove(); if (alldata[id]) {
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/2X2NAeGeZYA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CACK38a4K0T3ECfX3%2B_tdU927Dz-%3DCVE6jBbN6c%2BrQZhNX_4Lcg%40mail.gmail.com.
On Jun 11, 2023, at 08:31, Steve Waters <steve....@certane.com> wrote:
Sorry raise the dead... @clay did find an option for coping a nested structure in the end?
Disclaimer
This email is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email and/or its attachments is strictly prohibited. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Certane or any subsidiary or affiliate that may be relevant to the message (collectively the “Companies”). The Companies accept no responsibility for the content of any email which is sent by an employee which is of a personal nature.
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/2d49d35e-dc8c-47b1-a5c3-4d43e0c9e415n%40googlegroups.com.