Find all files with the extension .js in the current directory and its subdirectories, and replace the word "test" with "testacular" in each of those files.
find ./ -name "*.js" | xargs sed -i 's/test/testacular/g'