RUst SEarch FileSystem
A simple Rust grep-like CLI tool for searching your filesystem with regex.
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
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 this program requires Rust.
Once you've installed Rust, build the binary with the command below.
cargo build --release