AptLynx

Command-line tool

bfs

brew/bfs

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Breadth-first version of find

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install bfs

Linux

brew install bfs

Find files by extension

bfs path/to/directory -name '*.ext'

Find files matching multiple path/name patterns

bfs path/to/directory -path '**/path/**/*.ext' -or -name '*pattern*'

Find directories matching a given name, in case-insensitive mode

bfs path/to/directory -type d -iname '*lib*'

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents