Re: rsync dir in _both_ directions?

2002-02-06 Thread Martin Pool
On 6 Feb 2002, Jack McKinney <[EMAIL PROTECTED]> wrote: > > #!/bin/sh > > eval `ssh-agent` > > ssh-add > > rsync foo bar > > rsync qux zump > > .. > > kill $SSH_AGENT_PID > > As I indicated, I do not want to use ssh-agent. For religious reasons? -- Martin

Re: rsync dir in _both_ directions?

2002-02-06 Thread Jack McKinney
Big Brother tells me that David Bolen wrote: > > Since it's an easy experiment - why "suspect" - did you try this? It > should take virtually no time for the second (sans the initial > checksum computation and transmission, which to be fair for large > files and small block sizes can be quite si

RE: rsync dir in _both_ directions?

2002-02-06 Thread David Bolen
Jack McKinney [[EMAIL PROTECTED]] writes: > If I add 512 bytes at the begining of the file, then I would expect > it. If I only add 14 bytes, then I don't think rsync will detect this, > as it would require it to compute checksums start at EVERY byte instead > of 512 byte checksums at offset

Re: rsync dir in _both_ directions?

2002-02-06 Thread Dave Dykstra
On Wed, Feb 06, 2002 at 02:14:23PM -0600, Jack McKinney wrote: ... > If I add 512 bytes at the begining of the file, then I would expect > it. If I only add 14 bytes, then I don't think rsync will detect this, > as it would require it to compute checksums start at EVERY byte instead > of 512

Re: rsync dir in _both_ directions?

2002-02-06 Thread Jack McKinney
Big Brother tells me that Martin Pool wrote: > > With your commands, all messages will end up on both machines, which > is fine to start with. But if you delete a message it will presumably > keep on being copied back from the other machine. I don't know a good > way for rsync to distinguish be

Re: rsync dir in _both_ directions?

2002-02-06 Thread Jack McKinney
Big Brother tells me that Martin Pool wrote: > On 5 Feb 2002, Jack McKinney <[EMAIL PROTECTED]> wrote: > > > > Yes. blocks are 512 bytes long. If I add a 14 byte header on a message > > near the beginning, then there are no identical blocks. > > In this case there are identical blocks sta

Re: rsync dir in _both_ directions?

2002-02-06 Thread Martin Pool
On 4 Feb 2002, Jack McKinney <[EMAIL PROTECTED]> wrote: > Well, I read my email on my laptop, and it is sometimes necessary to > login to a central server to read my email (firewall issues). What I do is > to peridocally sync with the central server (which we'll call "server") by: > > rsyn

Re: rsync dir in _both_ directions?

2002-02-06 Thread Martin Pool
On 5 Feb 2002, Jack McKinney <[EMAIL PROTECTED]> wrote: > Big Brother tells me that Dave Dykstra wrote: > > On Mon, Feb 04, 2002 at 11:58:04AM -0600, Jack McKinney wrote: > > > If I change the status on the first message in the box (reply to it, delete > > > it), then the ENTIRE mailbox is re-cop

Re: rsync dir in _both_ directions?

2002-02-05 Thread Jack McKinney
Big Brother tells me that Dave Dykstra wrote: > On Mon, Feb 04, 2002 at 11:58:04AM -0600, Jack McKinney wrote: > > If I change the status on the first message in the box (reply to it, delete > > it), then the ENTIRE mailbox is re-copied. Not so in maildir format. > > Are you sure about that? Rs

Re: rsync dir in _both_ directions?

2002-02-05 Thread Dave Dykstra
On Mon, Feb 04, 2002 at 11:58:04AM -0600, Jack McKinney wrote: > I felt certain there was an option to do this, but I cannot find it. > I want to rsync a directory on machine A over to machine B, and then rsync > the directory on machine B back to machine A. > The idea is this: I read my

Re: rsync dir in _both_ directions?

2002-02-05 Thread tim . conway
uot;.\n" ' "There are some who call me Tim?" "Jack McKinney" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/04/2002 10:58 AM To: [EMAIL PROTECTED] cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject:rsync dir in _bot

rsync dir in _both_ directions?

2002-02-04 Thread Jack McKinney
I felt certain there was an option to do this, but I cannot find it. I want to rsync a directory on machine A over to machine B, and then rsync the directory on machine B back to machine A. The idea is this: I read my email using mutt, which is set to save my email in ~/Mail in maildir fo