I was hoping you could use something like this: "/tmp/foo/."
copy_from => local_cp("/tmp/bar/"), file_select => by_name(".*"), classes => if_repaired("$(this.promiser)_copied"), depth_search => recurse("inf"); But it does not appear the this.promiser is defined in this context, for me at least. On Thu, Nov 18, 2010 at 9:23 PM, <no-re...@cfengine.com> wrote: > Forum: Cfengine Help > Subject: Ways to determine which files have been copied in a recursive copy > Author: geertn > Link to topic: https://cfengine.com/forum/read.php?3,19304,19304#msg-19304 > > Version: CFEngine 3.1 CE > > Hi All, > > I'm performing a recursive copy of a directory using hash compare. I'd like > to know which files have been modified and copied. > > The only way I can see this working at the moment is using a separate promise > for each file and set a class when the promise is repaired. I'd rather use > one recursive copy and have a class set for each file that is copied. > > Any ideas are appreciated. > > Kind regards, Geert > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine