{"id":9929,"date":"2023-03-16T17:22:57","date_gmt":"2023-03-16T22:22:57","guid":{"rendered":"https:\/\/itsoftware.com.co\/content\/?p=9929"},"modified":"2023-03-16T17:24:05","modified_gmt":"2023-03-16T22:24:05","slug":"join-files-into-single-file","status":"publish","type":"post","link":"https:\/\/itsoftware.com.co\/content\/join-files-into-single-file\/","title":{"rendered":"Join files into a single file, as a consolidated text file"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It may happen that doing some work in the office, we need to work on many text files, opening one by one to perform a surely repetitive task. It may actually be to merge files into one, as a single consolidated text file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2016\/07\/archivos.jpg\"><img decoding=\"async\" src=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2016\/07\/archivos-300x300.jpg\" alt=\"Multitude of Text Files\" class=\"wp-image-2654\"\/><\/a><figcaption class=\"wp-element-caption\">Multitude of Text Files<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">In this article I will detail a tip in Windows, which will allow us to join all the text files present in the same folder, in a single text file. Once we have a single file, it is easier to make search operations or export to Excel, reducing the time we spend on a tedious task like this.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If for example we have many files with extension .csv in the folder \u00abC:\\temp\u00bb, and we want that all these files are united in only one called \u00abTotal.csv\u00bb; we carry out the following procedure:<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Command console execution<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">1. Click on the Windows Start button.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2016\/07\/inicio.png\"><img decoding=\"async\" src=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2016\/07\/inicio.png\" alt=\"Start Button\" class=\"wp-image-2653\" width=\"88\" height=\"69\"\/><\/a><figcaption class=\"wp-element-caption\">Start Button<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">2. Immediately type \u00abcmd\u00bb.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2016\/07\/cmd.png\"><img decoding=\"async\" src=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2016\/07\/cmd-300x32.png\" alt=\"Cmd\" class=\"wp-image-2655\"\/><\/a><figcaption class=\"wp-element-caption\">Cmd<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">3. Then the command window opens:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2016\/07\/command-line.png\"><img decoding=\"async\" src=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2016\/07\/command-line-e1540307851551.png\" alt=\"Command Line\" class=\"wp-image-2656\"\/><\/a><figcaption class=\"wp-element-caption\">Command Line<\/figcaption><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Use of copy command<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">4.There we wrote the following lines:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> C:\n cd \"C:\\temp\"\n copy \/b *.csv TOTAL.csv<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once all the data is in the TOTAL.csv file, you can operate on it more easily for subsequent operations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This option of joining files into one is very useful when we have several documents in which we have to search for information, and it is better to join them together to perform a single search, rather than having to open file by file to search individually.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are several utilities that we can use from the Windows operating system, that we can use as simple applications in the form of executables in batch, that we can use for different activities that we handle in the office. Knowing these facilities allows us to greatly improve performance when dealing with repetitive tasks, because we reduce time, and avoid human errors, caused by tedium and continuous repetition.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This article is part of the knowledge difusion system of <strong><a href=\"https:\/\/itsoftware.com.co\/content\/data-analytics-company\/\" target=\"_blank\" rel=\"noopener\" title=\"ITSoftware SAS, Data Analytics Company\">ITSoftware SAS<\/a><\/strong>.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1343\" height=\"307\" src=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2017\/01\/Cartel-ITS.png\" alt=\"\" class=\"wp-image-7852\" srcset=\"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2017\/01\/Cartel-ITS.png 1343w, https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2017\/01\/Cartel-ITS-300x69.png 300w, https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2017\/01\/Cartel-ITS-768x176.png 768w, https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2017\/01\/Cartel-ITS-1024x234.png 1024w\" sizes=\"(max-width: 1343px) 100vw, 1343px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">ITSoftware SAS is a company dedicated to innovate in the development of web and mobile applications, aimed at improving the performance of business processes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We support you to build the solutions you need for your current business or your venture. Come and contact us at <a href=\"https:\/\/itsoftware.com.co\/content\/data-analytics-company\/\" target=\"_blank\" rel=\"noopener\" title=\"ITSoftware SAS, Data Analytics Company\"><strong>www.itsoftware.com.co<\/strong><\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If you liked this article, please don&#8217;t forget to share it on social networks. Thks \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It may happen that doing some work in the office, we need to work on many text files, opening one by one to perform a surely repetitive task. It may[&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":8674,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[305,6],"tags":[790,788,787,789,791],"class_list":["post-9929","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-automatizacion","category-programacion","tag-comando-copy","tag-copia-archivos-texto","tag-tips-windows","tag-unir-archivos-en-uno-solo","tag-utilidades-dos"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/itsoftware.com.co\/content\/wp-content\/uploads\/2016\/07\/archivos-1.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/posts\/9929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/comments?post=9929"}],"version-history":[{"count":0,"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/posts\/9929\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/media\/8674"}],"wp:attachment":[{"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/media?parent=9929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/categories?post=9929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsoftware.com.co\/content\/wp-json\/wp\/v2\/tags?post=9929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}