Apply License script can add license notice to any text file. Is is also smart enough to skip files which already have "Copyright" text in it.
- Put script and copyright header in root directory of your project
- Run script like this: apply_license.sh header_apache2.txt *.java