How to merge .CSV files in macOS terminal

Save yourself some time, and merge .csv files with one easy command in Terminal.

1 min.

Merging .CSV files in macOS terminal is easy! Here’s how

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).

→ Call to action ←

Sounds interesting?

Then let's make the virtual gap between us a little bit shorter!