Last active
March 16, 2017 19:28
-
-
Save richard512/3bef3ec348ea889d2b69f1d4f5777438 to your computer and use it in GitHub Desktop.
merge all csv files in a directory into one csv file. one header. removes header from the other files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
awk 'FNR==1 && NR!=1{next;}{print}' *.csv > _ALL.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment