On 25.05.2018 14:36, Saranya N wrote:
I'm trying to find files dit.xml under particular directories.
Rather than mentioning the directories as a list like below
Path : [ /opt/local/version_v1.3.1 , /opt/local/version_v1.3.0 ]
I tried /opt/local/version_v1.3.* and it didn't work.
Actually I have dit.xml files under /opt/local/version_v1.5.0 which I
don't want to modify.
That's y looking for regex for paths.
Is it possible? Kindly suggest
Since it's not in the documentation it's not supported.
What you could do is first a find that finds the directories and exclude
the once you don't want.
The result of that find is used in the second find to find the correct
files.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/72011b5e9189631b41d1d59d3dfdb94d%40olstad.com.
For more options, visit https://groups.google.com/d/optout.