i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance
1768Post New Tech Mahindra Shell Script Code Interview Questions
The main function of transmission is a) To provide means to vary the torque ratio between the engine and the road wheels b) To provide neutral position c) To provide means to back the car d) all of the above
What is vapour flooding and liquid floodin in distillation?
How do I stop my android os from draining my battery?
Explain amazon lightsail?
tell me what was the code name for wcf? : Wcf data services
What do you mean by dao in spring?
Name few endpoints exposed by ssrs 2012?
What is the advantage of using sticky keys?
What are the differences between user control and server control?
Explain 48 decision trees?
How will you maintain versioning in asp.net 2.0?
What is div id in html?
Is sim pin code working?
Can we delete System Administrator field level security profile?
What is the use of customer account group?