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
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:
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
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:
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
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