mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
0.9.0
Opening the output file with `?` surfaced a bare "No such file or directory" with no indication of which file failed (easy to hit because the default output path /usr/local/var/locatedb often doesn't exist). Report it like GNU does, naming the path and the reason, e.g. `cannot create '/usr/local/var/locatedb': No such file or directory`. strip_errno() drops the trailing "(os error N)" noise.
findutils
Rust implementation of GNU findutils: xargs, find, locate and updatedb.
The goal is to be a full drop-in replacement of the original commands.
Run the GNU testsuite on rust/findutils:
bash util/build-gnu.sh
# To run a specific test:
bash util/build-gnu.sh tests/misc/help-version.sh
Comparing with GNU
Build/run with BFS
bfs is a variant of the UNIX find command that operates breadth-first rather than depth-first.
bash util/build-bfs.sh
# To run a specific test:
bash util/build-bfs.sh posix/basic
For more details, see https://github.com/uutils/findutils-tracking/
Description
Languages
Rust
98.7%
Shell
1%
Python
0.3%