Files

38 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

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
[![Crates.io](https://img.shields.io/crates/v/findutils.svg)](https://crates.io/crates/findutils)
2024-03-25 11:02:27 +01:00
[![Discord](https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord&longCache=true&style=flat)](https://discord.gg/wQVJbvJ)
[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/uutils/findutils/blob/main/LICENSE)
2022-01-23 01:23:31 +01:00
[![dependency status](https://deps.rs/repo/github/uutils/findutils/status.svg)](https://deps.rs/repo/github/uutils/findutils)
[![codecov](https://codecov.io/gh/uutils/findutils/branch/master/graph/badge.svg)](https://codecov.io/gh/uutils/findutils)
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
![Evolution over time - GNU testsuite](https://github.com/uutils/findutils-tracking/blob/main/gnu-results.svg?raw=true)
![Evolution over time - BFS testsuite](https://github.com/uutils/findutils-tracking/blob/main/bfs-results.svg?raw=true)
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/