HowTo: Concat multiple CSV Files into one using head and sed
Pontifications
- Combining multiple CSV files with the same headers is easy using
head -1
andsed 1d
!
head -1 file1.csv > final.csv
for filename in $(ls file*.csv); do sed 1d $filename >> final.csv; done