ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <j_a_fernan...@yahoo.com>
Subject RE: Directory image task
Date Tue, 06 Mar 2001 19:11:48 GMT
> From: Diane Holt [mailto:holtdl@yahoo.com]
> Subject: Re: Directory image task
>
>
> --- Jose Alberto Fernandez <j_a_fernandez@yahoo.com> wrote:
> > Is there any task that can maintain two directory
> structures in sync?
> > That is containing exactly the same files (modulo includes and
> excludes).
> > <copy> does not work since it will not get rid of files
> deleted in the
> > src directory.
>
> Whenever you want to sync the two, can't you just delete dirB
> then copy
> dirA to it?
>
I am planning to use it for lots of large files.
I would prefer just to sync the changes.
Actually, one can use <copy> to actualize in one direction, but will need
something else to delete, one needs to delete files on destination if not
present at source.

Jose Alberto


Mime
View raw message