Actually, on closer examination, this is the default behaviour for copy, when copying links, as far as I can see. I just tested it and it works.
M On Wed, 2005-12-21 at 09:12 +0100, Mark Burgess wrote: > Yes - always begin with the manual. > > nofile=kill/force > This decides what happens to links which point to non-existent files. > The default action is to remove such links, or refuse to create them. By > setting the force option you can force cfengine to make symbolic links > to files which do not exist. This is useful for setting up links to > filesystems which are not permanently mounted. > > > On Tue, 2005-12-20 at 15:09 -0800, Brian C. Hill wrote: > > I posted this last week; no one responded. Is there a better > > way to achieve this? > > > > I want to copy a tree of symbolic links, some of which will not > > actually point to anything on some systems. Is there a way to get > > cfengine to copy the symbolic link without worrying about whether the > > link is 'dangling' or not? > > > > Brian > > > > > > _______________________________________________ > > Help-cfengine mailing list > > Help-cfengine@gnu.org > > http://lists.gnu.org/mailman/listinfo/help-cfengine > > > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@gnu.org > http://lists.gnu.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine