Add header(copyright) information to existing source files

后端 未结 6 2370
我在风中等你
我在风中等你 2021-02-09 08:18

I want to add our company\'s copyright information to all of our EXISTING source code files.

The project is developed in Eclipse. so, for new files I can m

6条回答
  •  没有蜡笔的小新
    2021-02-09 09:08

    I would install CygWin (core + find) and do something of a kind

    find . -name *.java -exec mv '{}' tmp && cp copyright '{}' && cat tmp >> '{}' && rm tmp \;

提交回复
热议问题