python - Windows command for merging multiple files in single file based on filename -
i trying merge multiple .dlt extension file types 1 works fine me using below command os.system('type *.dlt > finaldlt.dlt')
there 2 problems me
- while trying merge thousands of files in 1 somehow type command doesn't work , skips merging.
my .dlt file names coming different sources names
a. tyre.dlt b. wiper.dlt c. engine.dlt , want merge these specific file single 1 tyre_all.dlt , wiper_all.dlt , engine_all.dlt tried doing
os.system('type tyre*.dlt > finaldlt.dlt')
not working.
p.s. running windows command python 2.x
Comments
Post a Comment