Re: Need help with exclude

2003-11-25 Thread Francis Montagnac
Hi, ... rsync -av --exclude=/foo/test/dir1/ /foo/test serv2:/foo and the exclude still does not work. The following works: rsync -av --exclude=/test/dir1/ /foo/test serv2:/foo Why? Because one should think the exclude pathnames are *relative* ones to the destination directory. In your

Re: Need help with exclude

2003-11-25 Thread John Van Essen
On Tue, 25 Nov 2003, daniel [EMAIL PROTECTED] wrote:  Hi all,    I am having *massive* problems trying to exclude a single directory from an rsync.    I have serv1 and serv2.  I am trying to rsync /foo/test from serv1 to /foo on serv2   I want to exclude the directory /foo/test/dir1   So I try:  

Re: Need help with exclude

2003-11-25 Thread daniel
Hi all, I am having *massive* problems trying to exclude a single directory from an rsync. I have serv1 and serv2. I am trying to rsync /foo/test from serv1 to /foo on serv2 I want to exclude the directory /foo/test/dir1 So I try: rsync -av --exclude-from=/foo/rsync.excludes

Re: Need help with exclude

2003-11-25 Thread Wayne Davison
On Tue, Nov 25, 2003 at 03:53:10AM -0600, daniel wrote: Thank you for clarifying the issue with regard to the fact that the exclude pattern is relative to the destination path. No, it's relative to the root of the transfer -- i.e. the names that the two sides have in common. The fact that:

Re: Need help with exclude

2003-11-25 Thread daniel
On Tue, Nov 25, 2003 at 03:53:10AM -0600, daniel wrote: Thank you for clarifying the issue with regard to the fact that the exclude pattern is relative to the destination path. No, it's relative to the root of the transfer -- i.e. the names that the two sides have in common. First

Need help with exclude

2003-11-24 Thread daniel
Hi all, I am having *massive* problems trying to exclude a single directory from an rsync. I have serv1 and serv2. I am trying to rsync /foo/test from serv1 to /foo on serv2 I want to exclude the directory /foo/test/dir1 So I try: rsync -av --exclude-from=/foo/rsync.excludes /foo/test