Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/AdFabConnect/abejs
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Sep 12, 2016
2 parents d951056 + be50a26 commit 1affc63
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/abe-linux-commands.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Replace some text in all your data directory

Mac
##Mac

```
find . -type f -name '*.json' -exec sed -i '' s/My text to replace/My text replaced/g {} \;
```

##Linux

Linux
find . -type f -name '*.json' -exec sed -i 's/My text to replace/My text replaced/g' {} \;
```
find . -type f -name "*.json" -exec sed -i s/My text to replace/My text replaced/g {} \;
```

0 comments on commit 1affc63

Please sign in to comment.