find ./src -name "*.tsx" -type
- find all
.tsx
files in the/src
directory
find ./ -type f -not -path '*/\.git/*' -exec sed -Ei 's/epicgames/beijing/g' {} \;
This finds:
- type file
- but not in the path .git
- execute sed (see sed note) to replace epicgames with beijing