Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aksh-bansal-dev/findrs
Search for patterns in files
https://github.com/aksh-bansal-dev/findrs
Last synced: 25 days ago
JSON representation
Search for patterns in files
- Host: GitHub
- URL: https://github.com/aksh-bansal-dev/findrs
- Owner: Aksh-Bansal-dev
- Created: 2021-09-07T19:40:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-09T11:02:39.000Z (over 3 years ago)
- Last Synced: 2024-11-20T11:05:27.080Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# findrs
Search for patterns in files
## How to install
```
cargo install --locked --all-features \
--git https://github.com/Aksh-Bansal-dev/findrs
```## How to use
```
Usage: findrs [OPTIONS]Options:
-i, --ignore-case Case insensitive search
-h, --help display help for findrs
-d, --dir search all the files in the directory
```#### Example
```
findrs -d -r "^then" ./demo
```This will search for 'then' at the beginning of line in the demo folder recursively.
> Note: if you want to try without installing(not recommended) `cargo run -- -d -r "^then" ./demo`