D
D
DonCarBon2022-01-10 18:22:07
Text Processing Automation
DonCarBon, 2022-01-10 18:22:07

How to merge text files (several pieces)?

Windows. There is a folder, there are a lot of text files in the folder.
You need to merge several files into one.
For example, three pieces into one, then the next three pieces into one, and so on.
So that the output of 150 files is 50.


Thank you in advance for the answer that will help solve the problem =)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
paran0id, 2022-01-10
@paran0id

I will prompt that procedure of connection of files is called "concatenation". You write a bat script in which you get a list of files, go through it in a loop and concatenate the files by three.

R
Roman Mirilaczvili, 2022-01-10
@2ord

type a*.csv b*.csv > concat-a-b.csv

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question