Re: rsync question

2015-02-07 Thread Rob Owens
On Fri, Feb 06, 2015 at 07:58:22PM +, Curtis Vaughan wrote: > I need to rsync several, but not all, the Maildir directories under /home. > I have a file with all the user accounts, so what would the script be to > say take each user account name and then rsync up each Maildir directory. > > T

Re: rsync question

2015-02-07 Thread shawn wilson
On Feb 6, 2015 11:14 PM, "Don Armstrong" wrote: > > On Sat, 07 Feb 2015, Curtis Vaughan wrote: > > That seems to work, but here's a problem. Each time it enters a new > > user directory I have to re-enter the root password. I realize I can > > just set it up so that I don't have to enter a passwor

Re: rsync question

2015-02-06 Thread Andrew McGlashan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 7/02/2015 12:01 PM, Curtis Vaughan wrote: > That seems to work, but here's a problem. Each time it enters a new user > directory I have to re-enter the root password. I realize I can just set > it up so that I don't have to enter a password at a

Re: rsync question

2015-02-06 Thread Don Armstrong
On Sat, 07 Feb 2015, Curtis Vaughan wrote: > That seems to work, but here's a problem. Each time it enters a new > user directory I have to re-enter the root password. I realize I can > just set it up so that I don't have to enter a password at all, but > maybe there's a way to set it, so I'd have

Re: rsync question

2015-02-06 Thread Alexis
Curtis Vaughan writes: That seems to work, but here's a problem. Each time it enters a new user directory I have to re-enter the root password. I realize I can just set it up so that I don't have to enter a password at all, but maybe there's a way to set it, so I'd have to only enter the roo

Re: rsync question

2015-02-06 Thread Curtis Vaughan
That seems to work, but here's a problem. Each time it enters a new user directory I have to re-enter the root password. I realize I can just set it up so that I don't have to enter a password at all, but maybe there's a way to set it, so I'd have to only enter the root password once? -- To U

Re: rsync question

2015-02-06 Thread Jochen Spieker
Curtis Vaughan: > I need to rsync several, but not all, the Maildir directories under /home. > I have a file with all the user accounts, so what would the script be to > say take each user account name and then rsync up each Maildir directory. > > The rsync command would be: > > rsync -arv ./[us

Re: rsync question

2007-11-09 Thread Christian Jaeger
John Schmidt wrote: If you put a trailing slash on the first directory, i.e. rsync -aPn directory/ machineB:~/directory you will get a new directory created on machineB, i.e. ~/directory/directory No, it's the other way round. If you put a slash at the end of the source directory, it wil

Re: rsync question

2007-11-09 Thread John Schmidt
On Friday 09 November 2007, John O Laoi wrote: > > Also, I get confused sometimes on the effects of a trailing slash on > > source and target arguments. Check for a ~/Documents/Documents/ > > directory or something. > > You are all correct. > There is a ~/Documents/Documents/. > > I must be using

Re: rsync question

2007-11-09 Thread John O Laoi
> Also, I get confused sometimes on the effects of a trailing slash on > source and target arguments. Check for a ~/Documents/Documents/ > directory or something. > You are all correct. There is a ~/Documents/Documents/. I must be using it incorrectly - I'll be more careful in future. John --

Re: rsync question

2007-11-08 Thread Douglas A. Tutty
On Thu, Nov 08, 2007 at 04:04:56PM +, John O Laoi wrote: > Hello, > > I have the same structure on 2 machines. > I want to keep them in sync. > > I change a file (ZZZ.ods) on the one with IP address AAA.BBB.CCC.DDD > and then rsync from the other as follows > > ~$ rsync -avh AAA.BBB.CCC.DD

Re: rsync question

2007-11-08 Thread Christian Jaeger
John O Laoi wrote: Hello, I have the same structure on 2 machines. I want to keep them in sync. I change a file (ZZZ.ods) on the one with IP address AAA.BBB.CCC.DDD and then rsync from the other as follows ~$ rsync -avh AAA.BBB.CCC.DDD:/home/john/Documents/ ./Documents/ Password: receiving

Re: rsync question

2007-11-08 Thread H.S.
John O Laoi wrote: > Hello, > > I have the same structure on 2 machines. > I want to keep them in sync. > > I change a file (ZZZ.ods) on the one with IP address AAA.BBB.CCC.DDD > and then rsync from the other as follows > > ~$ rsync -avh AAA.BBB.CCC.DDD:/home/john/Documents/ ./Documents/ > Pa

Re: Rsync question

2001-08-30 Thread Emil Pedersen
Sunny Dubey wrote: > > hi > > does anyone have an example script or something in which a client will > connect to a rsync server, and update whatever changes have occured? > I tried to create my own, however that didn't do too well hehe > > thanks > > Sunny Dubey > > -- > To UNSUBSCRIBE, email