Re: find utility alternative


Quentin Schulz
 

Hi Damien,

On Tue, Jun 02, 2020 at 05:13:20PM +0300, Damien LEFEVRE wrote:
Hi,

I need to run a script using the
find ... -empty

option which isn't supported with busybox.
It is?
https://git.busybox.net/busybox/tree/findutils/find.c#n206

You need to enable it in busybox config (you can use config fragments
IIRC).


```
find: unrecognized: -empty
BusyBox v1.30.1 (2020-05-25 15:54:17 UTC) multi-call binary.
```

Do any other package provide an alternative for then "find" utility?
layers.openembedded.org is your friend. For example, maybe findutils[1]
will work for you?

[1] http://layers.openembedded.org/layerindex/recipe/141/

Quentin

Join yocto@lists.yoctoproject.org to automatically receive all group messages.