--compare-dest; I'm missing the boat
Matt McCutchen
matt at mattmccutchen.net
Sat Jan 17 19:51:05 GMT 2009
On Sat, 2009-01-17 at 11:08 -0600, Harry Putnam wrote:
> I keep a checked out module from cvs at /usr/local/common/base, that
> contains the checked in versions of files in /cvsb
>
> Periodically I run rsync -blah /cvsb/ /usr/local/common/base
>
> Over writing the old cvs copies with new stuff. Then do the cvs
> chores on the new files.
>
> I find having that buffer in there prevents problems that arise if
> I tried to do this directly in a module checked out from cvs.
>
> I'm just stumbling around here for a good method to use once in a
> while when I've forgotten if the cvs module has gotten ahead of the buffer
> by cvs checkins from remote hosts..
>
> Using rsync's -n (dry run) flag is another way like:
>
> rsync -naCvv /cvsb/ /[...]/base/
>
> And then try to sort through the output .. maybe run it in reverse and
> sort through that output before making a final determination.
You know, there are two-way synchronization tools such as unison
( http://www.cis.upenn.edu/~bcpierce/unison/ ) that are designed for
this situation and would make your job much easier.
--
Matt
More information about the rsync
mailing list