Skip to content

Instantly share code, notes, and snippets.

@richard512
richard512 / mergecsv.sh
Last active March 16, 2017 19:28
merge all csv files in a directory into one csv file. one header. removes header from the other files
#!/bin/bash
awk 'FNR==1 && NR!=1{next;}{print}' *.csv > _ALL.csv