bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2.0a16 - copy with purge does not respect "include="


From: Thorn Roby
Subject: 2.0a16 - copy with purge does not respect "include="
Date: Wed, 6 Feb 2002 16:28:45 -0700

The documentation states that "include" automatically excludes "everything
else except further include patterns". However, the following copy command

/cf/s/$(host)/TRANS dest=/TRANS include=*.jar server=cf.me.com rec=1
timestamps=keep backup=false define=trans mode=0644 purge=true

recursively (and silently) purges subdirectories which are not present on
the source machine, apparently ignoring the include directive. Setting
"rec=0" causes the purge to be limited to the top level directory, and only
"*.jar", as desired. By contrast, however, in other copy operations not
involving purge I have had to set recursion=1 in order to have any effect on
files in the top level directory, although it would seem that operations on
files in the top level of a start path should not require any recursion.

Solaris 8, gcc 2.95.2.

Thorn Roby, Senior Systems Engineer
Cavion Technologies, 6446 South Kenton St
Englewood CO  80111   (720) 875 1949





reply via email to

[Prev in Thread] Current Thread [Next in Thread]