{"id":3935,"date":"2021-11-06T10:57:42","date_gmt":"2021-11-06T10:57:42","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=3935"},"modified":"2021-11-06T10:58:05","modified_gmt":"2021-11-06T10:58:05","slug":"copy-txt-from-folders-and-subfolders-to-one-folder","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/copy-txt-from-folders-and-subfolders-to-one-folder\/28474.html","title":{"rendered":"Copy *.Txt From Folders And Subfolders To One Folder"},"content":{"rendered":"<p>Dear All<\/p>\n<p>I have a problem to copy all files *.txt generated every days by systems, so I decided to wrote batch files. My Problem is :<br \/>\nHow to copy files *.txt as today date modified from subfolders to one folder (another drive).<\/p>\n<p>Example :<br \/>\nSource files *.txt in subfolders<br \/>\nD:\\gemscol\\key\\voucher\\normal (in folder normal there is many subfolders again that generates every day and in that subfolders have many *.txt generates every day too that I want to copy to destination path).<br \/>\nDestination path is C:\\duplicate<\/p>\n<p>After that, can we do otherwise? from c:\\duplicate, the *.txt that generates as today move to subfolders D:\\gemscol\\key\\voucher\\normal (folders in folder normal) as subfolders creates today too (*.txt files generates today move to subfolders that generates today too)<\/p>\n<p>If you dont mind and take the time to coding it.<\/p>\n<p>Thanks before<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":12},"question-category":[55],"question_tags":[],"class_list":["post-3935","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/3935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=3935"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=3935"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=3935"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=3935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}