help-cfengine
[Top][All Lists]
Advanced

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

Re: copy from many remote locations to many local locations


From: Mark . Burgess
Subject: Re: copy from many remote locations to many local locations
Date: Thu, 27 Jun 2002 08:15:29 +0200 (MET DST)

On 26 Jun, Paul Paradise wrote:
> Hi again,
> 
> I'd like the ability to copy from a list of directories to a list of
> directories, like so:
> 
> control:
>       actionsequence = ( copy )
> 
> copy:
>       /test/$(places)/file 
>               dest = /places/$(places)/file
> 
> where $(places) is a list of locations.

If the dir structure is the same at both ends, why not just do

copy:

 /test dest=/places r=inf include=file include=pattern*

etc.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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