[Fedora-packaging] Find with -exec?

Nico Kadel-Garcia nkadel at gmail.com
Sun May 17 12:59:00 UTC 2015


On Sat, May 16, 2015 at 3:02 PM, Dave Johansen <davejohansen at gmail.com> wrote:

> Nevermiind. This was a stupid mistake on my part. I had a logical error. I
> was doing "find -name "a*" -or -name "b*" -exec cmd {} \; and forgot that
> the I needed to enclose the -or in \( \) so that the -exec would happen on
> all conditions.
> Sorry for the noise,
> Dave

If I may suggest? Next time, use two find commands for legibility.


More information about the packaging mailing list