Skip to content

Instantly share code, notes, and snippets.

@drymek
Created January 9, 2014 08:16
Show Gist options
  • Save drymek/8330997 to your computer and use it in GitHub Desktop.
Save drymek/8330997 to your computer and use it in GitHub Desktop.
Change namespace, file names and file contents.
find ./src/ -type f -exec sed -i 's/CO/NACO/g' {} \;
find ./src/ -type f -exec sed -i 's/CO/NACO/g' {} \;
find ./src/ -name "*CO*" | xargs rename 's/CO/NACO/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment