2 releases
Uses new Rust 2024
| 0.1.1 | Jul 29, 2025 |
|---|---|
| 0.1.0 | May 9, 2025 |
#472 in Science
134 downloads per month
10KB
168 lines
A collection of CLI tools to simplify and speed up shell usage.
[TOC]
Install
cargo install rushed
f - Find your file faster
f is a fast alternative to find and grep with simpler syntax and smart configuration.
Usage
f [OPTIONS] [match_files]...
Examples
# Find files matching a pattern (like `find . -name "*rs"`)
f "rs$"
# Find a file while ignoring specific directories
f --idirs node_modules index.js # without config
f index.js # with config
# Find files ending with "rs" and containing lines matching "Arc" AND "use"
find . -name "*rs" -exec grep -l Arc '{}' \; | grep use
f "rs$" -a Arc use
# Find all files .cpp and .h
f "cpp$" "h$"
Options
--generate-confGenerate default config (overwrite if exists)-p, --path <path>Search root path [default: .]--idirs <ignore_dirs>...Ignore listed directories--ifiles <ignore_files>...Ignore listed files--max-depth <max_depth>Max depth [default: 100]-n, --any <patterns_any>...Match any of these patterns in file content-a, --all <patterns_all>...Match all of these patterns in file content-c, --conf <conf>Config file path [default: ~/.config/rush/conf.json]-v, --verbosePrint matched lines-h, --helpShow help-V, --versionShow version
Dependencies
~4.5–7MB
~126K SLoC