| Crates.io | sfind |
| lib.rs | sfind |
| version | 0.1.1 |
| created_at | 2025-10-25 15:27:07.619823+00 |
| updated_at | 2025-10-25 16:05:21.842559+00 |
| description | Simple, fast and efficient substring find tool for the command line. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1900342 |
| size | 23,772 |
A simple, fast, and efficient command-line tool for finding files based on filename or content substrings.
-f).-c), using optimized byte search and skipping binary files.-e).cargo install sfind
(Ensure $HOME/.cargo/bin is in your PATH)
sfind [OPTIONS]
Required: You must provide at least one filter: -f <filename_substring> or -c <content_substring>.
Options:
-d, --dir <DIRECTORY>: The directory to start the search from (defaults to current directory .).-f, --file <SUBSTRING>: Substring that must be present in the filename.-c, --content <SUBSTRING>: Substring that must be present in the file's content.-e, --errors: Show I/O errors encountered while reading file content (requires -c).Examples:
.toml files in the current directory and subdirectories:
sfind -f ".toml"
src/ containing the word ErrorPolicy:
sfind -d src/ -c "ErrorPolicy"
.rs files containing TODO, showing any I/O errors:
sfind -f ".rs" -c "TODO" -e