/nimf

search for files in a directory hierarchy

Primary LanguageNimGNU Affero General Public License v3.0AGPL-3.0

nimf

find-like, search for files in a directory hierarchy

Usage

Usage:
  f [optional-params] [input: string...]

Entered `input` may be a pattern OR a path to search.
The pattern will only match with the filename unless you include a `/`.

Options:
  -h, --help                            print this cligen-erated help
  --help-syntax                         advanced: prepend,plurals,..
  -c=, --color=         bool     ?      set color
  -e=, --execute=       strings  {}     Execute a command for each matching search result in parallel.
                                        Alternatively, end this argument with "+" to execute the command once with all results as arguments.
                                        Example: f .nim -e "$EDITOR"+
                                        The following placeholders are substituted before the command is executed:
                                        "{}":   path (of the current search result)
                                        "{/}":  basename
                                        "{//}": parent directory
                                        "{.}":  path without file extension
                                        "{/.}": basename without file extension
                                        Example: f .jpg -e 'convert {} {.}.png'
                                        If no placeholder is present, an implicit " {}" at the end is assumed.
  -L, --followSymlinks  bool     false  set followSymlinks
  -0, --null            bool     false  Separate search results and split stdin with null characters `\0` instead of newlines `\n`.

GitHub CI Minimum supported Nim version License