Re: create directories

2001-10-25 Thread tim . conway
"rsync -avp host::module/ ." - Simple commandline - here's what it says: recursively copy the contents of host::module into the current directory, copy symbolic links, copy permissions, copy timestamps, copy group ownership, copy user ownership, copy device files. be verbose, and copy permissi

Re: create directories

2001-10-25 Thread Tony Shum
Jason Helfman wrote: > > if i do an rsync to the current directory, how come the parent directory > isn't created? > > I normally just get my files spewed into the current directory, > eventhough I am trying to transfer a directory. > > Something like this > > rsync -avp host::module/ . > > -

create directories

2001-10-25 Thread Jason Helfman
if i do an rsync to the current directory, how come the parent directory isn't created? I normally just get my files spewed into the current directory, eventhough I am trying to transfer a directory. Something like this rsync -avp host::module/ . -- Jason G Helfman

Re: rsync under NT

2001-10-25 Thread Dave Dykstra
On Thu, Oct 25, 2001 at 05:47:00AM -0700, Mike Singleton wrote: > Here is the syntax I am using... > > rsync ftp.orst.edu::pub/CPAN \\c/ftp > > Unable to establish a connection is the error... > > > DaVita Inc. > They're not running an rsync server on that host: $ telnet ftp.orst.edu 87

Re: Feature req: multiple source trees

2001-10-25 Thread Dave Dykstra
On Thu, Oct 25, 2001 at 07:07:26AM +0200, Ph. Marek wrote [in private email]: > >How is that different from the behavior now when multiple source > >directories are given? The rsync Usage says: > > > >Usage: rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST > > or rsync [OPTION]... [USE

Re: Both directions Mirror

2001-10-25 Thread tim . conway
point-by-point >As operation to desire >1 Mirroring of both directions can be performed. If you mirror both directions, which change takes precedence? example: Host a, modifies /foo/bar. Host b does as well. you mirror both ways, now, which version do we have? >2 File deleted by hostA (hostB)

Re: rsync recursion question

2001-10-25 Thread Dave Dykstra
On Wed, Oct 24, 2001 at 04:31:06PM -0500, Justin Banks wrote: > > "Dave" == Dave Dykstra <[EMAIL PROTECTED]> writes: > > Dave> On Wed, Oct 24, 2001 at 02:26:29PM -0500, Justin Banks wrote: > >> > "Dave" == Dave Dykstra <[EMAIL PROTECTED]> writes: > >> > Dave> The filename paths t

Re: Both directions Mirror

2001-10-25 Thread Martin Pool
On 25 Oct 2001, taisaki <[EMAIL PROTECTED]> wrote: > Good evening Hello! > I use d as follows. > (It is every 5 minutes from Cron) > > #!/bin/sh > > LOCK=/tmp/lock.pid > > if [ ! -e $LOCK ]; then > echo 1 > $LOCK > rsync -ave ssh --delete /export/mirror user@hostB:/export > rs

rsync under NT

2001-10-25 Thread Mike Singleton
Here is the syntax I am using... rsync ftp.orst.edu::pub/CPAN \\c/ftp Unable to establish a connection is the error... DaVita Inc.

Both directions Mirror

2001-10-25 Thread taisaki
Good evening I use d as follows. (It is every 5 minutes from Cron) #!/bin/sh LOCK=/tmp/lock.pid if [ ! -e $LOCK ]; then echo 1 > $LOCK rsync -ave ssh --delete /export/mirror user@hostB:/export rsync -ave ssh --delete user@hostB:/export/ /export/mirror/ rm > $LOCK fi Howeve