Hello everyone,
I am trying to merge large number of CSV files into one, using the following "awk" command, but if I increase the number of files more than 10,000, it then gives me "argument too long" error.
Can someone suggest how I can manage to go beyond the limit? I am looking to merge some ~100,000 csv files together.
awk '{print $0"\t"FILENAME}' *.csv > merged.csv
Thanks.