SlackBuilds Repository

15.0 > System > bfs (4.1.7)

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: fd,find,search,locate,traversal,filesystem,breadth-first
ChangeLog: bfs

Homepage:
https://tavianator.com/projects/bfs.html

Source Downloads:
bfs-4.1.7.tar.gz (c37ebefe05824b537eeca52919efd06c)

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

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds