promotion from the dry-run list

2001-06-11 Thread Magdalena Hewryk
Hello, I need to rsync files which were listed in the dry-run. What flag should I use to promote only those files "stored" in LIST_promote.log? I can use perl to extract only file name from the log but what option can I use to let rsync to promote ONLY file from the list? Any hint? Thanks, Mag

RE: --include index.html vs --exclude-from tmp/*

2001-04-04 Thread Magdalena Hewryk
> -Original Message- > From: Dave Dykstra [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 03, 2001 9:34 AM > To: Magdalena Hewryk > Cc: '[EMAIL PROTECTED]' > Subject: Re: --include index.html vs --exclude-from tmp/* > > =---I am getting this resu

RE: --include vs --exclude-form

2001-03-30 Thread Magdalena Hewryk
Putting /tmp/* instead of /tmp in the excluding filelist works. Thanks Dave. Magda > -Original Message- > From: Dave Dykstra [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 29, 2001 5:32 PM > To: Magdalena Hewryk > Cc: '[EMAIL PROTECTED]' > Subject: Re:

RE: --include vs --exclude-form

2001-03-29 Thread Magdalena Hewryk
-from=/export/app/outfilelist/ outfilelist /tmp infilelist content.html index.html Any advise? Thanks, Magda > -Original Message- > From: Magdalena Hewryk > Sent: Thursday, March 29, 2001 3:27 PM > To: [EMAIL PROTECTED] > Subject: RE: --include vs --exclude-form > > >

RE: --include vs --exclude-form

2001-03-29 Thread Magdalena Hewryk
Ops, I've found the answer... "if the pattern starts with "+" then it is always considered an include pattern, even if specified as part of an exclude option. outfilelist + tmp Sorry I bug you. Thanks, Magda > -Original Message- > From: Magdalena Hewry

--include vs --exclude-form

2001-03-29 Thread Magdalena Hewryk
Hi, I'm trying to exclude ../tmp ../new ../.precious and other directories from mirroring but I need ../tmp/content.html and ../tmp/index.html to be updated regardless of the excluding list on the receiving host. The exclude filelist works but it blocks all the files and ../tmp/content.html an

--backup-dir option

2001-03-27 Thread Magdalena Hewryk
Hi, I'm trying to use --backup-dir=DIR option but it is not working with --backup. However --backup & --suffix options work fine. This is the error I am getting: /usr/local/bin/rsync: unrecognized option `--backup-dir=/tmp/logs' Here is the full syntax I am using: /usr/local/bin/rsync --rsync-p

RE: how to promote files instead of mirroring files

2001-03-23 Thread Magdalena Hewryk
> -Original Message- > From: Dave Dykstra [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 23, 2001 11:51 AM > To: Magdalena Hewryk > Cc: [EMAIL PROTECTED] > Subject: Re: how to promote files instead of mirroring files > > Take a look at -u or --update which

how to promote files instead of mirroring files

2001-03-23 Thread Magdalena Hewryk
Hi, I use rsync to mirror host1 to host2 but unfortunately it is not what it has to be done. I need to copy over from host1 to host2 ONLY those files which where changed on host1 from the last rsync run. Rsync should not check and compare files on host2 at all. We are changing http:// and other

RE: ssh

2001-03-22 Thread Magdalena Hewryk
From: Williams, William [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 22, 2001 10:07 AM > To: 'Magdalena Hewryk'; [EMAIL PROTECTED] > Subject: RE: ssh > > > Magda, > > Problem 1 here is caused by sshd either not running > or not being installed on the rec

ssh

2001-03-22 Thread Magdalena Hewryk
Hi, I'm trying to use the "ssh" option instead of "rsh" but I am getting some errors. Below are examples: 1. # /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync -av -e ssh /tmp/hello root@host2:/tmp Secure connection to host2 refused; reverting to insecure method. Using rsh. WARNING: Connec

RE: exclude list and patterns

2001-03-20 Thread Magdalena Hewryk
Hi, I need to match the pattern: profiles/[A-Z]{1,3}.html. When I use the GNU grep I get the correct result: = [root] # ls -ls * | /usr/local/bin/grep -v "\<[A-Z]\{1,3\}.html" 2 -rw-r--r-- 1 root other 5 Mar 20 14:08 ABCD.html

RE: exclude list and patterns

2001-03-20 Thread Magdalena Hewryk
/prod/app host2:/prod/app > /tmp/rsync_list1.log Any help? Thanks, Magda > -Original Message- > From: Dave Dykstra [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 20, 2001 1:28 PM > To: Magdalena Hewryk > Cc: [EMAIL PROTECTED] > Subject: Re: exclude list and patterns

exclude list and patterns

2001-03-20 Thread Magdalena Hewryk
Hi, I'm trying to get an rsync to transfer files using an --exclude-from file. Syntax: === /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync --rsh "/usr/bin/rsh" -av --stats --exclude-from=/export/home/rsync/filelist /prod/app host2:/prod/app > /tmp/rsync_list1.log This is