On Mon, Feb 24, 2003 at 08:17:43AM +0100, Domsodi Gergely wrote:
> Hi!
> 
> I try to copy a lot of little files between a Linux and a Tru64 (I
> successfully compiled rsync on a tru64, it needed a little cosmetics), but
> it throws me this error (rsync 2.5.5 on both machines):
> 
>  779300 files...rsync: error writing 4092 unbuffered bytes - exiting:
> Broken pipe
> rsync error: error in rsync protocol data stream (code 12) at io.c(463)
> 
> The command line was:
> rsync -avzP -e ssh --delete /usr/lib/sympa/spool [EMAIL 
> PROTECTED]:/backup/lists/sympa//usr/lib/sympa/spool
> 
> I tried to workaround excluding /usr/lib/sympa/spool/arc/* (the place of

The exclusion pattern is relative to the src/dest locations.
--exclude='/usr/lib/sympa/spool/arc/*'  (Need the quotes to
protect the * if on the command line) would only match the files
/usr/lib/sympa/spool/usr/lib/sympa/spool/arc/* which isn't
what you want.

try this instead
        rsync -avzP -e ssh --delete --exclude=/arc/ /usr/lib/sympa/spool \
        [EMAIL PROTECTED]:/backup/lists/sympa/usr/lib/sympa/spool

> the web archives with many files), and rsyncing it spearately, but it
> seems, the --exclude option is only used at transferring, and not used
> when considering the files.
> 
> Please write me if you have fixed these bugs, and if you can, send me a
> patch.

I wouldn't want to suggest where the bugs are:)


-- 
________________________________________________________________
        J.W. Schultz            Pegasystems Technologies
        email address:          [EMAIL PROTECTED]

                Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to