Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Replace angular2/ with @angular, on OSX, for many files
find . -name *.ts -not -path '*jspm*' -not -path '*node*' -not -name '*.d.ts' -exec sed -i '' 's/angular2\//@angular\//g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.