Skip to content

Instantly share code, notes, and snippets.

@ChrisRisner
Created February 5, 2019 22:08
Show Gist options
  • Save ChrisRisner/61fdd16bfa8ea80811ab4cfc19c9480c to your computer and use it in GitHub Desktop.
Save ChrisRisner/61fdd16bfa8ea80811ab4cfc19c9480c to your computer and use it in GitHub Desktop.
This set of bash commands will rename the EchoBot to MyBot for starter projects.
find . -type f -name '*.*' -exec sed -i '' s/echobot/mybot/ {} +
find . -type f -name '*.*' -exec sed -i '' s/EchoBot/MyBot/ {} +
find . -type f -name '*.*' -exec sed -i '' s/Echo-Bot/My-Bot/ {} +
find . -type f -name '*.*' -exec sed -i '' s/echo-bot/my-bot/ {} +
mv echobot.bot MyBot.bot
mv EchoBot.csproj MyBot.csproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment