mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
38 lines
1.5 KiB
Markdown
38 lines
1.5 KiB
Markdown
# findutils
|
|
|
|
[](https://crates.io/crates/findutils)
|
|
[](https://discord.gg/wQVJbvJ)
|
|
[](https://github.com/uutils/findutils/blob/main/LICENSE)
|
|
[](https://deps.rs/repo/github/uutils/findutils)
|
|
[](https://codecov.io/gh/uutils/findutils)
|
|
|
|
Rust implementation of [GNU findutils](https://www.gnu.org/software/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](https://github.com/tavianator/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/
|