> From: Diane Holt [mailto:[EMAIL PROTECTED] > Subject: Re: Directory image task > > > --- Jose Alberto Fernandez <[EMAIL PROTECTED]> 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