Re: Find with -exec?

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

 



On Sat, May 16, 2015 at 11:17 AM, Dave Johansen <davejohansen@xxxxxxxxx> wrote:
How can I use a find with -exec in a .spec file? It appears that the {} is being put in quotes and not doing what I'd expect. Is there a way for me to prevent the quoting and make this work?
Thanks,
Dave

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
--
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