Peruse some tutorials and opinions
A guide to replacing text in multiple files using a Bash script in Terminal on macOS