2017-03-01 09:34:51 +00:00
|
|
|
# findutils
|
2017-03-08 10:00:03 -05:00
|
|
|
|
2021-03-15 10:03:28 +01:00
|
|
|
[](https://crates.io/crates/findutils)
|
2024-03-25 11:02:27 +01:00
|
|
|
[](https://discord.gg/wQVJbvJ)
|
|
|
|
|
[](https://github.com/uutils/findutils/blob/main/LICENSE)
|
2022-01-23 01:23:31 +01:00
|
|
|
[](https://deps.rs/repo/github/uutils/findutils)
|
2018-01-02 17:37:26 -08:00
|
|
|
[](https://codecov.io/gh/uutils/findutils)
|
2017-03-10 09:51:18 -05:00
|
|
|
|
2024-03-25 11:02:27 +01:00
|
|
|
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.
|
2021-09-07 23:24:53 +02:00
|
|
|
|
|
|
|
|
## 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
|
2022-01-23 01:23:31 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Comparing with GNU
|
|
|
|
|
|
2025-05-05 09:15:45 -07:00
|
|
|

|
|
|
|
|

|
2022-06-27 08:57:17 +02:00
|
|
|
|
2024-03-25 11:02:27 +01:00
|
|
|
## 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
|
|
|
|
|
```
|
|
|
|
|
|
2022-06-27 08:57:17 +02:00
|
|
|
For more details, see https://github.com/uutils/findutils-tracking/
|