help-cfengine
[Top][All Lists]
Advanced

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

editfiles wildcard question


From: ANDERSON RUSSELL D (ANDY)
Subject: editfiles wildcard question
Date: Fri, 21 Jan 2005 11:02:11 -0700

Can someone help me with using wildcards in editfiles?
I have a bunch of files such as one.txt, two.txt, three.txt and need to change 
a line in all of them.
When I use this, I get an error: "Multiple filenames in editfiles"
This leads me to believe it wants to resolve to a single filename?

editfiles:
  { /tmp/testdir
  Include *.txt
  Exclude bla.*
  Ignore "."
  Ignore ".."
  Recurse 6
  ReplaceAll "one" With "two"
  }

Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]