all thanks,
Marco
-Original Message-
From: Mark Burgess [mailto:cont...@cfengine.com]
Sent: Tuesday, April 20, 2010 2:42 PM
To: Lebel, Marco
Cc: fo...@cfengine.com; help-cfengine@cfengine.org
Subject: Re: Cfengine Help: Re: RE: Cfengine Help: Re: rename on copy
I think you are trying to
ame_test' in file './rename.cf'
near line 13
So my guess is that I am a sitting duck with this one :-(
Oh well time for a home made shell script
Marco
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of f
e-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of fo...@cfengine.com
Sent: Tuesday, April 20, 2010 1:38 PM
To: help-cfengine@cfengine.org
Subject: Cfengine Help: Re: RE: Cfengine Help: Re: rename on copy
Forum: Cfengine Help
Subject: Re: RE: Cfengine Help: Re: rename
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
Forum: Cfengine Help
Subject: Re: RE: Cfengine Help: Re: rename on copy
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,16933,16936#msg-16936
Use the rename body part.
http://www.cfengine.org/manuals/cf3-reference.html#rename-in-files
I can see doing two separate promises but I still do not know how to mass
rename all file with a .dr extension without the .dr extension
Any suggestion?
Marco struggling with something I thought was simple to do using promises
-Original Message-
From: help-cfengine-boun...@cfengine.org
Just did and I fail to see how it can help me. If I call a command the
(this.promiser) will be the file name with the .dr extension so how does one
get rid of the suffix aside from writing a help script... which is exactly what
I am trying to avoid.
Marco
-Original Message-
From: help
Nakarin,
Thanks for your suggestion but my problem is not so much how many files I have
at the source it is more that I do not know their name before hand they can
have any name but will have the .dr suffix.
Marco
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:hel