#file-search #string-search #locate #find #recursion #grep #tool

app search

A recursive search tool to locate files or find certain strings in files

2 releases (1 stable)

1.1.0 Aug 21, 2024
1.0.0-beta Apr 8, 2023
0.1.0 May 21, 2020
0.0.2 Nov 21, 2014

#234 in Command line utilities

MIT license

16KB
310 lines



Release Language Stars Issues Forks

Key FeaturesInstallationUsageContributorsLicense

With the intention to learn rust further, we followed some tutorials and one was about creating a little "grep" clone. After a bit of coding we had so much fun, that we expanded the project further...

Key Features

  • Search for a certain string
  • Locate a certain file

Installation

If you just want to use the tool, you can download the latest release and execute it via a command line.

# Locate the search.exe and execute it
search.exe --help

Alternatively you can download the repository and compile it yourself.

# Clone the repository
git clone https://github.com/ValuONE/search

# Build the project
cargo build --release

It will create an executable in target/release!

Or simply do

cargo install search


Usage

To get started just type search.exe --help you should now see this output:

Usage: search.exe <COMMAND>

Commands:
  locate    Locate a file on your computer
  find      Find a string in a file
  help      Print this message or the help of the given subcommand(s)      

Options:
  -h, --help     Print help
  -V, --version  Print version

Contributors


License

GitHub license


Dependencies

~5–13MB
~146K SLoC