<div dir="ltr"><div>Just tried it and it seems to work fine. Thanks!</div><div><br></div><div>$ ~/workspace/github/toybox/toybox find . -type f -newer ~/z.sh -print -execdir file  {} \; -quit<br>./.dbus/session-bus/eea5ecbf79280e5b3e48728e59163532-20<br>eea5ecbf79280e5b3e48728e59163532-20: ASCII text</div><div>$</div><div><br></div><div>Use the GNU find:</div><div>$ find . -type f -newer ~/z.sh -print -execdir file  {} \; -quit<br>./.dbus/session-bus/eea5ecbf79280e5b3e48728e59163532-20<br>./eea5ecbf79280e5b3e48728e59163532-20: ASCII text</div><div>$</div><div><br></div><div><br></div><div>Frank</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 26, 2021 at 3:16 AM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/25/21 12:19 PM, Frank Liu wrote:<br>
> Hi,<br>
> I got an error when running a script today, it turns out using find -quit option<br>
> that toybox doesn't have.<br>
> eg: find / -type f -newer /tmp/mark -print -quit<br>
> <br>
> Is this something you would consider adding?<br>
<br>
<a href="https://github.com/landley/toybox/commit/e3062c3bd366" rel="noreferrer" target="_blank">https://github.com/landley/toybox/commit/e3062c3bd366</a><br>
<br>
Haven't tested the "flush pending -execdir" stuff yet, but I think I added the<br>
right flush call?<br>
<br>
Rob<br>
</blockquote></div>