Windows batch file - Concatenate all files in subdirectories

前端 未结 2 602
不知归路
不知归路 2020-12-24 14:47

Need to concatenate all of the javascript files in a directory and all of its sub-directories into one file.

Right now I have a very simple command in a batch file t

2条回答
  •  别那么骄傲
    2020-12-24 15:08

    I'm not aware of an approach to do that from a batch file, but you could use a tool like minify

    http://code.google.com/p/minify/

    to both combine JavaScript files and also minify them (e.g. by removing comments and unnecessary white space).

    There are quite a few similar tools for a variety of programming environments.

提交回复
热议问题