[PATCH 2/2] find: implement 'find -exec ... {} +' option

Bartosz Gołaszewski bartekgola at gmail.com
Thu Jun 12 13:43:58 UTC 2014


2014-06-12 10:05 GMT+02:00 walter harms <wharms at bfs.de>:
> hi,
> could you give a few word why you need that feature ?

It offers a 'find | xargs ...'-like functionality. It's faster, as it
limits the number of execve() calls to one per '-exec +' parameter.

> btw:
> Why you choose a linked list ? It seems more simple to make a strin for all

We don't know how many files are going to be found, instead of
reallocing a char** it's better to just add new elements to a linked
list.

Best regards,
Bartosz Golaszewski


More information about the busybox mailing list