rpl

Text replacement utility for replacing strings in files recursively

brewmacoslinux
Try with needOr install directly
Source

About

Text replacement utility

Commands

rpl

Examples

Replace all occurrences of 'old' with 'new' in a single file$ rpl 'old' 'new' filename.txt
Recursively replace text in all files within a directory$ rpl -r 'old' 'new' /path/to/directory
Replace text with confirmation prompt for each occurrence$ rpl -i 'old' 'new' filename.txt