Giter Club home page Giter Club logo

rsrch's Introduction

rsrch

Description

rsrch is a multithreaded file finder command-line utility program for Unix-like Operating Systems written exclusively in the Rust programming language. It gives the user the possibilty to querry through their files on two different modes of execution:

  • querry through file names:
$ rsrch name ".rs"
found in ./src/automata.rs at 14 
found in ./src/cl_handler.rs at 16 
found in ./src/main.rs at 10 
found in ./src/output_formatting.rs at 23 
found in ./src/file_search.rs at 17 
  • querry through file contents
$ rsrch content "automata"
found in ./README.md at 357 
found in ./target/debug/rsrch.d at 98 
found in ./target/debug/deps/rsrch-9dbb208e2ad9939d.d at 114 286 379 
found in ./target/debug/.fingerprint/rsrch-9dbb208e2ad9939d/dep-bin-rsrch at 52 
found in ./src/main.rs at 139 
found in ./src/output_formatting.rs at 11 

For additional features, such as parallelization, run rsrch --help.

Implementation

The matching algorithm is based on String Matching Automata, with a personal implemenatation of the structures and routines needed for the algorithm.

Installation

Just clone the repo

 $ git clone "https://github.com/kickhead13/rsrch.git"

build the program

 $ cd rsrch
 $ cargo build --release

and run the executable

 $ ./target/release/rsrch --help

It's that easy!

rsrch's People

Contributors

kickhead13 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.