Skip to content
/ rusefs Public

A simple Rust grep-like CLI tool for searching your filesystem with regex.

Notifications You must be signed in to change notification settings

Kyza/rusefs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rusefs

RUst SEarch FileSystem


A simple Rust grep-like CLI tool for searching your filesystem with regex.

Example

Search for all JavaScript files by their extension (case-insensitively) with functionName() in them that are under 5MB in ~/GitHub and ~/Downloads while skipping all files and folders named node_modules or .git.

rusefs -f ~/GitHub -f ~/Downloads -n "(?i)\.js" -c "functionName\(\)" -e "node_modules" -e "^\.git$" -s 5

Installation

Download the binary for your architechure from the releases, extract it, and place it somewhere in your PATH. Alternatively you can create an alias for it in your .bashrc or .zshrc.

A rusefs-config.toml file can be created in the same folder as the binary to include default settings. The keys are the same as the long names for the CLI flags, run rusefs --help to find them.

Building

Building this program requires Rust.

Once you've installed Rust, build the binary with the command below.

cargo build --release

About

A simple Rust grep-like CLI tool for searching your filesystem with regex.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages