> For the complete documentation index, see [llms.txt](https://wiki.fruetel.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.fruetel.net/devops/shell-fu.md).

# Shell-Fu

## Recursive search and replace over all files

```
LC_ALL=C find . -type f -name '*.rb' -exec sed -i '' s/pattern/replacement/ {} +
```
