|
1 Generate a file of copyright information
2 Generate a temporary file, copy all the contents of the copyright information file, and then continue to copy all the contents of a source file
3 This temporary file is the required file.
This completes the addition of copyright information to a source file.
You can perform similar operations on all source files.
For example, by traversing the directory,
Get all the file names,
Then cycle through the above operations ~~~ |
|