In /usr/share/doc/rsync/README.gz: BUG REPORTS ----------- If you have web access then please look at... Well what if you don't have web access? You don't mention what to do then. "Send bugs to rsync@lists.samba.org" probably. OK. Will do. Here's one now: $ rsync -avz debian.linux.org.tw:var/lib/apt/diet.lists 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? It turns out I spelled the input filename wrong. The bug? Telling me to try --recursive when as everybody knows, -a, --archive archive mode, equivalent to -rlptgoD -r, --recursive recurse into directories So I already was trying --recursive!
A couple of key words in the message. perhaps or " client: nothing to do: perhaps you need to specify some filenames or the --recursive option? " If you had specified a filename (that exists on the server) and the client gets nothing There is a good chance that you wanted to use --recursive. -----Original Message----- From: rsync-bounces+tony=servacorp.com@lists.samba.org [mailto:rsync-bounces+tony=servacorp.com@lists.samba.org]On Behalf Of Dan Jacobson Sent: Friday, April 22, 2005 8:58 PM To: rsync@lists.samba.org Subject: I already used --recursive In /usr/share/doc/rsync/README.gz: BUG REPORTS ----------- If you have web access then please look at... Well what if you don't have web access? You don't mention what to do then. "Send bugs to rsync@lists.samba.org" probably. OK. Will do. Here's one now: $ rsync -avz debian.linux.org.tw:var/lib/apt/diet.lists 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? It turns out I spelled the input filename wrong. The bug? Telling me to try --recursive when as everybody knows, -a, --archive archive mode, equivalent to -rlptgoD -r, --recursive recurse into directories So I already was trying --recursive! -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
On Sat, Apr 23, 2005 at 09:58:02AM +0800, Dan Jacobson wrote:> $ rsync -avz debian.linux.org.tw:var/lib/apt/diet.lists 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 code). 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. ..wayne..