I already used --recursive

Tony at ServaCorp.com Tony at ServaCorp.com
Sun Apr 24 00:07:13 GMT 2005

Client :: Server
Local  :: Remote
Sender :: Receiver
Reader :: Writer

Anything that makes the pull behavior like the push behavior should help.
The overall problem is that of the transfer and gets into the bit
	about the whole being more than the sum of the parts.

If I have control of both ends of the transfer,
I will initiate the transfer from whichever end happens to
	be most convenient at the moment.
If there are problems with the transfer,
	and I have forgotten whether I am pulling or pushing,
(Any software that is actually helpful in that context is extremely rare)

-----Original Message-----
From: rsync-bounces+tony=servacorp.com at lists.samba.org
[mailto:rsync-bounces+tony=servacorp.com at lists.samba.org]On Behalf Of
Wayne Davison
Sent: Saturday, April 23, 2005 5:48 PM
To: Dan Jacobson
Cc: rsync at lists.samba.org
Subject: Re: I already used --recursive

On Sat, Apr 23, 2005 at 09:58:02AM +0800, Dan Jacobson wrote:
> $ rsync -avz debian.linux.org.tw:var/lib/apt/diet.lists
> receiving file list ... link_stat var/lib/apt/diet.lists : No such file or
directory done
> client: nothing to do: perhaps you need to specify some filenames or
the --recursive option?

The worst thing about that rsync response is that it returned a zero
(success) exit status when it should have returned code 23 (some files
could not be transferred).  The second worst thing about that is that it
is inconsistent with rsync's push/local-copy behavior (in which rsync
exits with the normal end-of-run messages and returns a proper response

So, I just checked in a change that makes the pull behavior work like
the push behavior, and now that message is gone.  I may put in a better
warning about an empty file-list that works for both push and pull, but
I'm contemplating how useful I think that would be.  Comments welcomed.

To unsubscribe or change options:
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

More information about the rsync mailing list