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

Re: uploading a website (reverse mirror)?



*- On  8 Mar, Frankie wrote about "uploading a website (reverse mirror)?"
> 
> Is there an upload utility that compares local and remote file versions
> and uploads the changed version based on the differences between local
> and remote systems rather than local and old_local versions?
> 
> cheers,
> frankie

Look at the rsync package.  It is what is used for the Debian mirror
sites. From the man page:

DESCRIPTION
       rsync  is a program that behaves in much the same way that
       rcp does, but has many more options  and  uses  the  rsync
       remote-update  protocol  to greatly speedup file transfers
       when the destination file already exists.

       The rsync remote-update protocol allows rsync to  transfer
       just  the differences between two sets of files across the
       network link, using an efficient checksum-search algorithm
       described  in  the  technical report that accompanies this
       package.


-- 
Brian 
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
							   - unknown  

Mechanical Engineering                                bservis@usa.net
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: