This command finds files if I remove from exec
onwards.
find src -name "*.tsx" -o -name "*.ts" -exec sed -i "" "s/LayerSelector/LayerRenderer/g" {} \;
The LayerSelector
is indeed in most of those files, and the -i
should replace in place.
However, nothing happens. No changes in files, no message.
What is wrong with this simple command ?
However, this works fine:
sed -i "" "s/LayerSelector/LayerRenderer/g" src/**/*.tsx