bfs (breadth-first version of the UNIX find command)
bfs is a variant of the UNIX find command that operates breadth-first
rather than depth-first, typically locating files faster by listing
shallower paths before descending into deeper subtrees. It is mostly
compatible with POSIX, GNU, FreeBSD, OpenBSD, NetBSD, and macOS find,
and adds quality-of-life improvements like colored output, helpful
error messages, and operators such as -exclude and -hidden.
Example: searching for a config file near the top of a tree with a
huge subdirectory like node_modules:
$ find ~/project -name 'config.json'
(slow: descends into node_modules first)
$ bfs ~/project -name 'config.json'
(fast: finds shallow matches before diving deeper)
Maintained by: r1w1s1
Keywords: find,search,filesystem,breadth-first,bfs,fd,locate,traversal
ChangeLog: bfs
Homepage:
https://tavianator.com/projects/bfs.html
Download SlackBuild:
bfs.tar.gz
bfs.tar.gz.asc (FAQ)
(the SlackBuild does not include the source)
| Individual Files: |
| README |
| bfs.SlackBuild |
| bfs.info |
| slack-desc |
© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of
Patrick Volkerding
Linux® is a registered trademark of
Linus Torvalds