NON-empty module, - but always 'received 0 names',
'recv_file_list_done', but always get 'total size is 0'?
Matt McCutchen
hashproduct+rsync at gmail.com
Tue Jun 6 23:55:46 GMT 2006
On Sat, 2006-06-03 at 16:53 +0800, Jeffrey Lim wrote:
> # rsync -vvv localhost::a .
> opening tcp connection to localhost port 873
> opening connection using --server --sender -vvv . a
> received 0 names
> recv_file_list done
>
> sent 4 bytes received 9 bytes 26.00 bytes/sec
> total size is 0 speedup is 0.00
> _exit_cleanup(code=0, file=main.c, line=1298): about to call exit(0)
The root of the module is a directory, and it is being skipped because
you didn't give -r, --recursive. Use -r.
------------------------------
Comments for rsync developers:
The sender should say "skipping directory ." or something useful instead
of merely sending an empty list. (For some reason, it does so only if
the module name is given with a trailing slash.)
There's more strangeness where this came from! "rsync
localhost::module" gives a nonrecursive listing, while "rsync --relative
localhost::module" lists only ".". Implying --list-only in "rsync foo/"
results in the "skipping directory" message, while passing --list-only
results in a nonrecursive listing. What are the semantics of listing
supposed to be?
Matt
More information about the rsync
mailing list