Forum: CFEngine Help
Subject: Re: Don't know how to do for having only links that i want
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,24769,24773#msg-24773
As Neil said use you may use a promise like this
files:
"/my/dir/"
depth_search => recurse("2"), # the number is picked randomly
delete => tidy,
file_select => ex_list("@(my_links");
This uses cfengine_stdlib.cf.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine