{"id":465,"date":"2017-04-10T13:45:14","date_gmt":"2017-04-10T16:45:14","guid":{"rendered":"http:\/\/gianfratti.com\/?p=465"},"modified":"2017-04-19T09:19:21","modified_gmt":"2017-04-19T12:19:21","slug":"como-mesclar-arquivos-de-texto-txt-no-prompt-de-comando","status":"publish","type":"post","link":"https:\/\/gianfratti.com\/index.php\/como-mesclar-arquivos-de-texto-txt-no-prompt-de-comando\/","title":{"rendered":"Como Mesclar Arquivos de Texto (.Txt) no Prompt de Comando"},"content":{"rendered":"<p>Se voc\u00ea tem um monte de arquivos de texto e gostaria de mescla-los em um \u00fanico arquivo voc\u00ea pode simplesmente fazer isso com um simples comando no prompt de comando.<br \/>\n<!--more--><\/p>\n<p>1\u00ba Abra o Prompt de Comando (DOS);<br \/>\n2\u00ba V\u00e1 ate o diret\u00f3rio onde est\u00e3o os arquivos de texto (.txt);<br \/>\n3\u00ba Execute o comando abaixo.<\/p>\n<p>O comando abaixo percorre todos os arquivos (.txt) e coloca todos em um \u00fanico arquivo chamado Resultado.txt<\/p>\n<p>Exemplo 01:<\/p>\n<pre class=\"brush: sql; title: ; notranslate\" title=\"\">\r\ntype *.txt &gt; Resultado.txt\r\n<\/pre>\n<p>Exemplo 02:<\/p>\n<pre class=\"brush: sql; title: ; notranslate\" title=\"\">\r\nfor %f in (*.txt) do type &quot;%f&quot; &gt;&gt; Resultado.txt\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Se voc\u00ea tem um monte de arquivos de texto e gostaria de mescla-los em um \u00fanico arquivo voc\u00ea pode simplesmente fazer isso com um simples comando no prompt de comando.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[20],"tags":[],"class_list":["post-465","post","type-post","status-publish","format-standard","hentry","category-dicas"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/posts\/465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/comments?post=465"}],"version-history":[{"count":8,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/posts\/465\/revisions"}],"predecessor-version":[{"id":570,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/posts\/465\/revisions\/570"}],"wp:attachment":[{"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/media?parent=465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/categories?post=465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/tags?post=465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}