I decided to play around with Rust lang and worked on this. This allows you to replace any occurrence of a text in a file or directory.
- Rust programming language. Install here
- MacOS.
- To get started, run
git clone https://github.com/praiseisaac/replace-in.git. - Run
cd replace-in && ./setupfrom the directory. - If you get a
permission denied error, runchmod 755 ./startto give the file execute permission. You can read the file to verify its contents. Next, run./setup.
- To run the application, right click on a file or directory you want to replace a text in, navigate to
Quick actions, then click on theReplace inaction. - If you don't see the
Replace inoption in theQuick actionmenu, clickCustomize, then check theReplace incheckbox. - Repeat step 1.