Re: Find with -exec?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 16, 2015 at 3:02 PM, Dave Johansen <davejohansen@xxxxxxxxx> 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.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux