BFS – “find” replacement which does breadth-first search (2016)
tavianator.com
tavianator.com
> it operates breadth-first, rather than depth-first. This means if you have a directory structure like
./linux/{the entire Linux kernel source tree}
./target
> there's a good chance find gets bogged down looking through the Linux kernel sources before it finds the file you're looking for, target. bfs, on the other hand, will return it either first or second.