How to merge .CSV files in macOS Terminal

Code first, text later. Simply use this in the terminal:

cat *.csv >merged.csv

Explanation #

The code you see above: that's it.

Translated, it says: 'take all files in this folder that end with '.csv', and put them in 'merged.csv' (effectively merging them).

Menu
Published: February 10, 2013 ~ 1 min.
Home  »  Blog  »  Merge .csv files in macOS Terminal

Eikhart - Mad Scientist