Locate

GitHub issues GitHub forks GitHub stars Github action Rustc 1.42

How many times have you gone through files to find some string, or maybe want to know where you have used a name.

Locate is a tool written in Rust which goes through each file and gives exact location of the occurence of a name or string in the file.


Installation

``` bash

Clone the repo

git clone https://github.com/pr4k/locate

Build the project

cargo build --release

`` It will create a binary intarget/release, copy it to/usr/bin` and you are good to go.


Give it a Test Run

Don't want to clone the project, No worries!!

Go to the releases and downlaod the latest release, copy it to /usr/bin that's all.


Usage

```bash ➜ ~ locate -h
Usage: locate [OPTIONS]

Recursive string locater in files

Optional arguments: -h,--help Show this help message and exit -p,--path PATH Path to folder -q,--query QUERY Query string to find `` Trylocate -p /path/to/folder -q /string-to-be-searched`

asciicast


TO-Do

License

GitHub license