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
> -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
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:
-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
>
>
>
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
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
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
> -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
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
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
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
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
/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
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
14 matches
Mail list logo