Skip to content

Commit

Permalink
Update abe-linux-commands.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Sep 7, 2016
1 parent f9071b9 commit 6574cb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/abe-linux-commands.md
@@ -1,7 +1,13 @@
# Replace some text in all your data directory

##Mac

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

##Linux

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

0 comments on commit 6574cb7

Please sign in to comment.