The error message indicates that there are no * .js files in your current directory. If you want to traverse the directory tree, you can do this:
find <startdirectory> -name '*.js' -exec grep --color=auto setHeader '{}' ';'
Of course, you need to fill out the correct source directory, you can use . to indicate the directory in which you are currently located.
Darkdust
source share