That is exactly what robocopy and rsync do. The stuff about being reliable over a network is just an added bonus if you need it. Robocopy is as easy as using copy. I suggest you take a look at it - from what you have said it does exactly what you want.
I am less familiar with rync, but from what I know it will do what you want as well. d On Wed, 7 Mar 2001 10:15:33 -0000, Jose Alberto Fernandez wrote: >I am not trying to implement some remote copy or syncronization facility. > >I just want to be able to keep the directory containing install HTTP pages >in sync with the content of the CVS repository and some other generated >code. > >So, what I need is a task to "synchronize" (if I may abuse the term) two >directories. > >Jose Alberto > >> -----Original Message----- >> From: David Rees [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, March 07, 2001 7:35 AM >> To: [EMAIL PROTECTED] >> Subject: Re: Directory image task >> >> >> >> On 07 Mar 2001 08:26:15 +0100, Stefan Bodewig wrote: >> >> >Fernando Padilla <[EMAIL PROTECTED]> wrote: >> > >> >> you mean you want an rsync task?? >> > >> >Well executing rsync on Unix (there are probably version for >> >Windows/Mac OS as well, I don't know) would do the trick, but I think >> >Jose Alberto was asking for something more Java. Bat at >> least it would >> >be a start. >> > >> >> There is a cygwin version for windows and lots of rsync/windows info >> at >> http://optics.ph.unimelb.edu.au/help/rsync/ >> >> Also, robocopy (which is in the Windows resource kit) is a great >> reliable copy program (it handles lost connections and such). >>