I was about to test the $(match.n) option
Something like
"dest/dir"
file_select => include("(.*)\.dr"),
rename => mvto("$(match.1)"),
...
...
...
Are you telling me that it is not supported?
Me,
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of [email protected]
Sent: Tuesday, April 20, 2010 1:38 PM
To: [email protected]
Subject: Cfengine Help: Re: RE: Cfengine Help: Re: rename on copy
Forum: Cfengine Help
Subject: Re: RE: Cfengine Help: Re: rename on copy
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,16933,16937#msg-16937
Neil,
Marco wants to convert foo.dr to foo, not vice versa. That is body rename
doesn't help, too. It would have been helpful if it would have allowed one to
use $(match.X).
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine