Skip to content
automated bash script to edit your code license note headers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



It's a simply bash script to automatically modify your source code files to add/modify their license header it can:

  • add to the source code files in the same folder the license set in the file License_header
  • remove x lines of license in the source code files it there already is any Copyright notice

Be careful:

  • it removes lines of copyright if it detects (by grep command) the Copyright word (if you have some code with the "Copyright" word it will mess the file.)(also it won't work if the previous or the License_header has no the "Copyright" word inside)
  • once you remove the old copyright notice you have to restart the script to write the new one


sh License_header

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.