Skip to content

samuell/ffind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FFind - Fuzzy Find on the command line

ffind lets you search with fuzzy-matching for files in the subfolders of the current folder.

The below example shows how a fuzzy search might look when searching for "toolconf" at the root of a galaxy folder. As you can see, not only results containing the full term "toolconf" are found, but also the ones that contain some parts of the search term (in this case "tool" and "conf".

ffind screenshot

It is inspired by the fuzzy matching of file names available in the sublime text editor, and is intended to act as a "poorman's" fuzzy search, to be used with Geany, for example, as demonstrated in the screenshow below:

ffind screenshot

Hopefully you find this useful somehow!

Installation

  • Install fstrcmp. If you are on Ubuntu, use apt-get:
sudo apt-get install fstrcmp
  • Create a parent directory somewhere, and go there:
mkdir -p ~/opt/
cd ~/opt/
  • Download / clone:
git clone https://github.com/samuell/ffind.git
  • Add the directory to your path. Put this at the end of your ~/.bashrc:
export PATH=~/opt/ffind:$PATH
  • Source your .bashrc file:
source ~/.bashrc

Usage

ffind [search term]

About

Fuzzy find / search for files in subfolders, on the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages