← Back to tools

bfs

A breadth-first version of the UNIX find command

Search & Filter linuxmacos C 0BSD

Description

bfs is a breadth-first version of the UNIX find command. It searches directories in breadth-first order, which often finds results faster for shallow directory trees, and is largely compatible with GNU find.

When to use this tool

Good fit when
  • You want faster file finding in shallow directory structures
  • You want a drop-in replacement for find
Avoid when
  • You need depth-first traversal specifically

AI Summary

Breadth-first alternative to the UNIX find command

Capabilities

  • + Search files and directories in breadth-first order
  • + Compatible with most GNU find options
  • + Faster results for shallow directory trees

Use When

  • You want faster file finding in shallow directory structures
  • You want a drop-in replacement for find

Avoid When

  • x You need depth-first traversal specifically

Related Tools

View AGENTS.md for bfs