fd <command> [command...]

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

Arguments

NameDescription
commandThe search pattern - a regular expression unless '--glob' is used (optional)
commandThe root directories for the filesystem search

Options

NameDescription
-H,--hiddenSearch hidden files and directories
-I,--no-ignoreDo not respect .(git|fd)ignore files
-s,--case-sensitiveCase-sensitive search (default: smart case)
-i,--ignore-caseCase-insensitive search (default: smart case)
-g,--globGlob-based search (default: regular expression)
-a,--absolute-pathShow absolute instead of relative paths
-l,--list-detailsUse a long listing format with file metadata
-L,--followFollow symbolic links
-p,--full-pathSearch full path (default: file-/dirname only)
-0,--print0Separate results by the null character
-h,--helpPrints help information
-V,--versionPrints version information
-d,--max-depth <command>Set maximum search depth
-t,--type <command>
  • Repeatable ♾
-e,--extension <command>
  • Repeatable ♾
-x,--exec <command>Execute a command for each search result
-X,--exec-batch <command>Execute a command with all search results at once
-E,--exclude <command>
  • Repeatable ♾
-c,--color <command>When to use colors
-S,--size <command>Limit results based on the size of files
--changed-within <command>Filter by file modification time (newer than)
--changed-before <command>Filter by file modification time (older than)