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

  1. while trying merge thousands of files in 1 somehow type command doesn't work , skips merging.
  2. 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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -