tldr/pages/common/fd.md
2019-01-12 15:09:05 +00:00

433 B

fd

A simple, fast and user-friendly alternative to find.

  • Find files matching the given pattern in the current directory:

fd {{pattern}}

  • Find files that begin with "foo":

fd {{'^foo'}}

  • Find files with a specific extension:

fd --extension {{txt}}

  • Find files in a specific directory:

fd {{pattern}} {{path/to/dir}}

  • Include ignored and hidden files in the search:

fd --hidden --no-ignore {{pattern}}