Skip to content
This repository was archived by the owner on Jul 28, 2021. It is now read-only.

joshuaclayton/fnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fnd

fnd is a tiny CLI to find file paths based on substring matching or regular expressions. It honors gitignore files for file traversal.

Motivation

Honestly? I forget the syntax for find, and I don't want to drill in the muscle memory now to learn it.

Separately, find is a bit slow for my liking, so being able to use multiple threads is nice.

Usage

Search for all files containing the string 'sql'

fnd sql

Search for all files containing the string 'sql' while ignoring gitignores

fnd sql -a

Search for all files matching a regex

fnd "\.xlsx?$" -r

Installation

Homebrew

brew tap joshuaclayton/formulae
brew install fnd

Cargo

cargo install --path .

License

Copyright 2021 Josh Clayton. See the LICENSE.