On Mon, Mar 29, 2004 at 03:51:18PM -0500, Andrew Pimlott wrote:
>     rsync -v --files-from files [EMAIL PROTECTED]: .
> and got an error from the remote rsync.

You can work around the problem by specifying a directory after the
colon ('.' would work).

This patch should fix things:

--- options.c   27 Mar 2004 19:42:13 -0000      1.141
+++ options.c   29 Mar 2004 23:42:37 -0000
@@ -720,7 +720,7 @@ int parse_arguments(int *argc, const cha
 
        if (files_from) {
                char *colon;
-               if (*argc != 2) {
+               if (*argc != 2 && (!am_server || !am_sender || *argc != 1)) {
                        usage(FERROR);
                        exit_cleanup(RERR_SYNTAX);
                }

..wayne..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to