bfs
bfs copied to clipboard
A breadth-first version of the UNIX find command
## Example 1 ``` $ bfs -type f -type d bfs: warning: bfs -type f -type d bfs: warning: ~~~~~~~ bfs: warning: This expression is always false. ``` This part...
Findutils offers - [ ] findutils-default - [ ] awk - [ ] egrep - [x] ed - [x] emacs - [ ] gnu-awk - [x] grep - [ ]...
This commit is meant to help examining path traversal and print order, and to allow playing around with the flags listed below. Unfortunately the docs are pretty scarce on this...
io_uring
Once https://lkml.org/lkml/2021/1/23/76 or something like it lands, we can use it to do async openat()/readdir(). This is likely to be a better approach than https://github.com/tavianator/bfs/issues/46. It does mean we'll need...
As suggested by @merwok: https://github.com/tavianator/bfs/issues/8#issuecomment-361097431, we should implement a `-vcsignore` action. Related to #30 since conditionally respecting .gitignore would be very weird, it should be an on/off thing regardless of...
`-s` will sort by name, but it would be nice to sort by other attributes like type, inode number, etc. The main difficulty is that at the time we sort,...
FreeBSD uses a different, simpler format for coloring files: https://www.freebsd.org/cgi/man.cgi?ls#ENVIRONMENT
`clone()` can be much faster than `fork()`. There are some subtleties though: http://ewontfix.com/7/
I think it would help with readability if matched substrings were highlighted in some way (eg: with a yellow background). It would be extra helpful for regular expressions, where the...