Re: Exclude not working

2007-07-12 Thread Wayne Davison
On Thu, Jul 12, 2007 at 05:18:28PM +0530, Madhavan Chari wrote: > SOURCE1=/opt/mscdr/arb821/Server > E1=/opt/mscdr/arb821/Server/transmissionData As Matt mentioned, the exclude needs to not include any part of the path that is outside of the transfer. The simple rule is that your excludes should

Re: Exclude not working

2007-07-12 Thread Madhavan Chari
Hi, Here is my config file HOSTTOBACKUP1=ctlrws001 SOURCE1=/opt/mscdr/arb821/Server TARGET1=/opt/mscdr/daily.0/arb821/Server and the my script E1=/opt/mscdr/arb821/Server/transmissionData E2=/opt/mscdr/arb821/Server/logs E3=/opt/mscdr/arb821/Server/temp E4=/opt/mscdr/arb821/Server/altavista

Re: Exclude not working

2007-07-10 Thread Wayne Davison
On Tue, Jul 10, 2007 at 03:11:05PM +0200, Giuliano Gavazzi wrote: > In the last sentence the term "file" is used, that for consistency > should not include directories. There is some inconsistency in the word "file" since it includes dirs in its generic sense, but can be used as a short-hand for

Re: Exclude not working

2007-07-10 Thread Giuliano Gavazzi
On 10 Jul 2007, at 00:18, Matt McCutchen wrote: On 7/9/07, Giuliano Gavazzi <[EMAIL PROTECTED]> wrote: you did not append "/" to your exclude patterns and you did not show us the value of the SOURCE macro. Either might explain the failure. All a trailing "/" would do is prevent the pattern

Re: Exclude not working

2007-07-09 Thread Matt McCutchen
On 7/9/07, Giuliano Gavazzi <[EMAIL PROTECTED]> wrote: On 9 Jul 2007, at 08:17, Madhavan Chari wrote: > This is how I am trying to exclude the directories. All the > directories have sub-directories also. > > E1=/opt/mscdr/arb821/Server/transmissionData > E2=/opt/mscdr/arb821/Server/logs > E3=/

Re: Exclude not working

2007-07-09 Thread Giuliano Gavazzi
On 9 Jul 2007, at 08:17, Madhavan Chari wrote: This is how I am trying to exclude the directories. All the directories have sub-directories also. E1=/opt/mscdr/arb821/Server/transmissionData E2=/opt/mscdr/arb821/Server/logs E3=/opt/mscdr/arb821/Server/temp E4=/opt/mscdr/arb821/Server/altavis

Exclude not working

2007-07-08 Thread Madhavan Chari
Hi, I am facing a problem with rsync exclude filter. It seems even though I am trying to exclude few directories under my directory structure, it is still getting copied every time it runs. The folder structure is as below. Source Directory Structure opt msc arb821 Server

RE: --exclude not working?

2003-03-24 Thread Al-Abdulhadi, Bashar
har Sent: Tue, March 25, 2003 10:14 AM To: '[EMAIL PROTECTED]' Subject: --exclude not working? Hello, am using the following flags for my rsync line rsync --exclude=/path/to/a/file -av /some/dir /some/other/dir and every time it sync the file is copied, any idea why? or

--exclude not working?

2003-03-24 Thread Al-Abdulhadi, Bashar
Hello, am using the following flags for my rsync line rsync --exclude=/path/to/a/file -av /some/dir /some/other/dir and every time it sync the file is copied, any idea why? or am using the wrong expression? Bashar AlAbdulhadi (KBM) E&D UNIX System Support Team (SUN) IT Department, Kuwa

Re: Include exclude not working

2002-02-26 Thread Dave Dykstra
You should find if you remove the -n option that it actually does copy the directories. The dry-run option has a few cases that don't completely reflect what happens without it, and this is one of them. - Dave Dykstra On Mon, Feb 25, 2002 at 11:37:00PM +0100, Thomas Schweikle wrote: > > Hi! >

Include exclude not working

2002-02-25 Thread Thomas Schweikle
Hi! playing with --include, --exclude, and --exclude-from=file I found these not working: xcnlm00s:/etc/adsm/script # rsync -navx --include="*/" --exclude="*" -e ssh newsfeed:/ receiving file list ... done wrote 29 bytes read 28605 bytes 3014.11 bytes/sec total size is 0 speedup is 0.00 xcn