ffind v0.8 - A sane

Info: An utility to search files recursively on a dir.

Author: Jaime Buelta

About

Basically, replaces find . -name '*FILE_PATTERN*' with ffind.py FILE_PATTERN

Common uses:

All options

usage: ffind.py [-h] [-p] [--nocolor] [--nosymlinks] [--hidden] [-c]
                [--delete] [--exec "command"] [--ignore-vcs] [-f] [--version]
                [dir] filepattern

Search file name in directory tree

positional arguments:
  dir               Directory to search
  filepattern

optional arguments:
  -h, --help        show this help message and exit
  -p                Match whole path, not only name of files
  --nocolor         Do not display color
  --nosymlinks      Do not follow symlinks (following symlinks can lead to
                    infinite recursion)
  --hidden          Do not ignore hidden directories
  -c                Force case sensitive. By default, all lowercase patterns
                    are case insensitive
  --delete          Delete files found
  --exec "command"  Execute the given command with the file found as argument.
                    The string '{}' will be replaced with the current file
                    name being processed
  --ignore-vcs      Ignore version control system files and directories
  -f                Experimental fuzzy search. Increases the matches, use with
                    care. Combining it with regex may give crazy results
  --version         Show program's version number and exit

Install

python setup.py install