I have two files, the first one is called first.csv, and looks like this:
header1,header2
1,a
2,b
The second file is called second.csv, and looks like this:
header1,header2,header3,header4,header5
1,a,m,n,o
2,b,p,q,r
My Goal is to append a new row in second.csv if any new row added in first.csv
And I need a result like:
first.csv
header1,header2
1,a
2,b
3,c
then
second.csv
header1,header2,header3,header4,header5
1,a,m,n,o
2,b,p,q,r
3,c,-,-,-,-
Thanks in Advance