I have the following problem, I have many CSV files, all in a single folder formatted Año-(Número de Mes).csv
and therefore ordered chronologically. They have the same fields, what I want to do is join them in a single file to analyze it. How can I do it?
The easiest way would be to use
head
andtail
together with-q
to read from multiple files, use the first line of the first file to create a file and write all other CSVs from the second line, ie without the header.