Pontifications

  • Combining multiple CSV files with the same headers is easy using head -1 and sed 1d!
head -1 file1.csv > final.csv
for filename in $(ls file*.csv); do sed 1d $filename >> final.csv; done

Leave a comment on github