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

rsync question

2015-02-06 Thread 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 ./[username]/Maildir/ root@[compute

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

rsync question

2007-11-08 Thread John O Laoi
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 file list ... done Do

Rsync question/bug? on --delete

2002-01-22 Thread Mike Dresser
I'm running potato, with rsync 2.3.2 I have a directory on an rsync server, that consists of about 1.95 gig of files. On my local server, I am trying to mirror that rsync dir into a directory that already has existing files. i'm using rsync -avvP --delete --force rsync://server/cds/* . When I

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

Rsync question

2001-08-29 Thread Sunny Dubey
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

Re: ssh (and maybe rsync) question...

2000-12-19 Thread Brian May
> "Chris" == Chris Baker <[EMAIL PROTECTED]> writes: Chris> Usually, you'd use ssh-agent to remember your passphrase, Chris> but I'm not sure if it will work with a cron job. Chris> Otherwise, you can't use a passphrase; just leave it empty Chris> when you generate the keys. >

Re: ssh (and maybe rsync) question...

2000-12-19 Thread Chris Baker
Jeronimo Pellegrini <[EMAIL PROTECTED]> writes: [...] > The ssh manpage says I may generate a keey pair with ssh-keygen, and > then put my public key in ~/.ssh/authorized_keys in the remote host, > so I'd login without having to interact. > > I ran ssh-keygen, then copied ~/.ssh/identity

Re: ssh (and maybe rsync) question... (Solved!)

2000-12-18 Thread Jeronimo Pellegrini
:: Jeronimo Pellegrini writes: > I ran ssh-keygen, then copied ~/.ssh/identity.pub to the remote > side, and changed its name to ~/.ssh/authorized_keys (since there > wasn't such a file before). > But this doesn't work either, since ssh asks for my new passphrase > anyway (the one from

ssh (and maybe rsync) question...

2000-12-18 Thread Jeronimo Pellegrini
Hello. I've been having some problems here with ssh. I want to copy files from my home dial-up box to a server (in which I'm only a regular user), but don't want to send the password as clear text (otherwise I'd just use sitecopy). I've tried rsync + ssh, but then I need to interact w

rsync question

2000-02-17 Thread Timothy C. Phan
Hi, I'm in the middle of do the rsync and I found out that the symbolic link from main/binary-i386/.../.../some-file to main/binary-all/.../.../some-file were actual the two same files. They are not symlinked. Therefore, my harddrive is filled up very fast. Could someone help? TI