tldr/pages/common/fd.md
Lucas Gabriel Schneider 3358db816e find: update description
Co-Authored-By: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2019-10-13 08:58:04 +05:30

507 B

fd

An alternative to find. Aims to be faster and easier to use than find. More information: https://github.com/sharkdp/fd.

  • 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}}