
Use the following command: ``` $ GREP_SED="\(repo\.salt\)stack\.com" \ && grep -rl --exclude-dir=.git "${GREP_SED}" \ | grep -v .un~$ \ | xargs sed -i -e "/${GREP_SED}/s//\1project.io/g" ```
Use the following command: ``` $ GREP_SED="\(repo\.salt\)stack\.com" \ && grep -rl --exclude-dir=.git "${GREP_SED}" \ | grep -v .un~$ \ | xargs sed -i -e "/${GREP_SED}/s//\1project.io/g" ```