From 9681081089134ac44f0a9299d8b4eaa65e4a7112 Mon Sep 17 00:00:00 2001 From: fossilfranv Date: Thu, 6 Apr 2023 11:57:47 -0700 Subject: [PATCH] Update 'change web site name' --- change web site name | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/change web site name b/change web site name index 692c409..beb9186 100644 --- a/change web site name +++ b/change web site name @@ -1,4 +1,7 @@ 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' @ \ No newline at end of file +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