clone_all_repositories/change web site name

8 lines
187 B
Plaintext

to change the website:
cd to root dir of repos
then
grep -rli 'old-word' * | xargs -i@ sed -i 's/old-word/-new-word/g' @
or:
find . -type f -exec sed -i s/"old-word"/"new-word"/g {} +^C