{"id":17840,"date":"2024-01-16T16:58:36","date_gmt":"2024-01-16T09:58:36","guid":{"rendered":"https:\/\/gcloudvn.com\/?p=17840"},"modified":"2024-01-16T16:58:55","modified_gmt":"2024-01-16T09:58:55","slug":"cach-copy-folder-google-drive","status":"publish","type":"post","link":"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-copy-folder-google-drive\/","title":{"rendered":"How to copy Google Drive folder"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><p style=\"text-align: justify;\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">Google Drive is a popular file storage and sharing tool, but many people still have difficulty copying folders, especially when they want to copy folders from someone else&#039;s Drive to their own Drive. This article will guide you how to copy a Google Drive folder through basic steps and using scripts.<\/span><\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17843 size-full\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2024\/01\/a1-1.jpg\" alt=\"\" width=\"600\" height=\"375\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2024\/01\/a1-1.jpg 600w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2024\/01\/a1-1-18x12.jpg 18w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-copy-folder-google-drive\/#Copy_Thu_Muc_Drive_cua_Nguoi_Khac_vao_Google_Drive_Cua_Ban\" >Copy Someone Else&#039;s Drive Folder to Your Google Drive<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-copy-folder-google-drive\/#Su_Dung_Script_De_Copy_Folder\" >Use Script To Copy Folder<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-copy-folder-google-drive\/#Dang_Ky_Su_Dung_Script_Cua_Nguoi_Khac\" >Register to Use Other People&#039;s Scripts<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-copy-folder-google-drive\/#Ket_luan\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Copy_Thu_Muc_Drive_cua_Nguoi_Khac_vao_Google_Drive_Cua_Ban\"><\/span><b>Copy Someone Else&#039;s Drive Folder to Your Google Drive<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Step 1: Get Access<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">To copy a folder from someone else&#039;s Google Drive, you first need access permission. The folder owner needs to share it with you with &quot;Viewer&quot; or &quot;Editor&quot; rights.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Step 2: Use the \u201cMake a Copy\u201d Function<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Open Folder: Log in to your Google Drive, open the shared folder.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Select All Files: Click on each file in the folder and select \u201cMake a copy\u201d from the right-click menu.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Create New Folder: Create a new folder in your Drive and paste all the copies there.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Note: This method only works with a small number of files because you need to do it manually for each file.<\/span><\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17841\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2024\/01\/a3-1.jpg\" alt=\"\" width=\"601\" height=\"309\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2024\/01\/a3-1.jpg 601w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2024\/01\/a3-1-18x9.jpg 18w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Su_Dung_Script_De_Copy_Folder\"><\/span><b>Use Script To Copy Folder<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">When you have to copy a folder with many files, using a script will save much time. Here&#039;s how:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17842\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2024\/01\/a2-1.jpg\" alt=\"\" width=\"600\" height=\"126\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2024\/01\/a2-1.jpg 600w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2024\/01\/a2-1-18x4.jpg 18w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>B\u01b0\u1edbc 1: T\u1ea1o Google Apps Script<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Go to Google Drive: Sign in to your Google Drive.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Create New Google Apps Script: Select \u201cNew\u201d &gt; \u201cMore\u201d &gt; \u201cGoogle Apps Script\u201d.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Name the Script: Name your script project.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Step 2: Write Copy Script<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Below is an example of a possible script:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">javascript<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Copy the code<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">function copyFolder(sourceFolderId, targetFolderId) {<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0var sourceFolder = DriveApp.getFolderById(sourceFolderId);<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0var targetFolder = DriveApp.getFolderById(targetFolderId);<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0var files = sourceFolder.getFiles();<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0while (files.hasNext()) {<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0var file = files.next();<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0file.makeCopy(file.getName(), targetFolder);<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0}<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0var subFolders = sourceFolder.getFolders();<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0while (subFolders.hasNext()) {<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0var subFolder = subFolders.next();<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0var newTargetSubFolder = targetFolder.createFolder(subFolder.getName());<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0copyFolder(subFolder.getId(), newTargetSubFolder.getId());<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">\u00a0\u00a0}<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">}<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Step 3: Run the Script<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Enter Source and Destination Folder IDs: Replace sourceFolderId and targetFolderId with the IDs of the source and destination folders in your Drive.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Run Script: Click the \u201cRun\u201d button to run the script.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Note: You need to grant access to the script so it can operate on your Drive.<\/span><\/p>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Dang_Ky_Su_Dung_Script_Cua_Nguoi_Khac\"><\/span><b>Register to Use Other People&#039;s Scripts<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">If you don&#039;t want to create scripts yourself, you can find scripts available on the Internet or from others. Just make sure that the script comes from a trusted source and won&#039;t harm your data.<\/span><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Ket_luan\"><\/span><b>Conclusion<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">How to copy a Google Drive folder can be simple or complicated depending on the number of files and folders that need to be copied. Using scripts can be worthwhile in complex cases, but always be careful when using scripts from unknown sources.<\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"templatera_shortcode\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"vc_message_box vc_message_box-standard vc_message_box-rounded vc_color-blue\" ><div class=\"vc_message_box-icon\"><i class=\"vc-mono vc-mono-technorati\"><\/i><\/div><p><a href=\"https:\/\/gcloudvn.com\/en\/main-logo-1\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-664\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2021\/06\/main-logo-1.png\" alt=\"\" width=\"221\" height=\"72\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2021\/06\/main-logo-1.png 214w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2021\/06\/main-logo-1-18x6.png 18w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2021\/06\/main-logo-1-183x60.png 183w\" sizes=\"auto, (max-width: 221px) 100vw, 221px\" \/><\/a>As a senior partner of Google in Vietnam, Gimasys has more than 10+ years of experience, consulting on implementing digital transformation for 2000+ domestic corporations. Some typical customers Jetstar, Dien Quan Media, Heineken, Jollibee, Vietnam Airline, HSC, SSI...<\/p>\n<p>Gimasys is currently a strategic partner of many major technology companies in the world such as Salesforce, Oracle Netsuite, Tableau, Mulesoft.<\/p>\n<p>Contact Gimasys - Google Cloud Premier Partner for advice on strategic solutions suitable to the specific needs of your business:<\/p>\n<ul>\n<li>Email: gcp@gimasys.com<\/li>\n<li>Hotline: 0974 417 099<\/li>\n<\/ul>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n<\/section>","protected":false},"excerpt":{"rendered":"Google Drive l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 l\u01b0u tr\u1eef v\u00e0 chia s\u1ebb t\u1ec7p tin ph\u1ed5 bi\u1ebfn, nh\u01b0ng nhi\u1ec1u ng\u01b0\u1eddi v\u1eabn g\u1eb7p kh\u00f3 kh\u0103n trong vi\u1ec7c sao ch\u00e9p c\u00e1c th\u01b0 m\u1ee5c, \u0111\u1eb7c bi\u1ec7t khi mu\u1ed1n copy th\u01b0 m\u1ee5c t\u1eeb Drive c\u1ee7a ng\u01b0\u1eddi&hellip;","protected":false},"author":2,"featured_media":17843,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1,134],"tags":[],"class_list":["post-17840","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kienthuc","category-google-workspace","entry","has-media"],"_links":{"self":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/17840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/comments?post=17840"}],"version-history":[{"count":0,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/17840\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media\/17843"}],"wp:attachment":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media?parent=17840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/categories?post=17840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/tags?post=17840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}