I have a bunch of csv 's in folder.I want to combine them in an order.
I have the csv files as
state_1_result_6.csv, state_1_result_8.csv, state_1_result_10.csv, state_1_result_12.csv.....
Each of the csv has one line without no header, so the content of a
state_i_result.csv will be like:
I want to combine in such a order that first line will be state_1_result_6.csv and second line will be state_1_result_8.csv and so on.
I tried with
cat state*.csv > final.csv
But it is not merging in a order.