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
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